lib/rest-ftp-daemon/uri.rb in rest-ftp-daemon-0.222.0 vs lib/rest-ftp-daemon/uri.rb in rest-ftp-daemon-0.230.0

- old
+ new

@@ -1,12 +1,19 @@ module URI + class FTPS < Generic DEFAULT_PORT = 21 end - @@schemes["FTPS"] = FTPS -end -module URI + class FTPES < Generic - DEFAULT_PORT = 990 + # DEFAULT_PORT = 990 + DEFAULT_PORT = 21 end + + class SFTP < Generic + DEFAULT_PORT = 22 + end + + @@schemes["FTPS"] = FTPS @@schemes["FTPES"] = FTPES + @@schemes["SFTP"] = SFTP end