æ··ä¹±ããããããSFTP 㯠SSH ã使ã£ã¦æå·åã»èªè¨¼ãè¡ããããã³ã«ã§ FTPS ã¨ã¯å¥ã ã»HTTP ã®ã»ãã¥ã¢çã HTTPS ã»FTP ã®ã»ãã¥ã¢çã FTPS ã¨è¦ããã¨è¯ãã ããã ãµã³ãã«ã³ã¼ã# FTP ã® SaaS ã§ãã BrickFTP ã«ã¢ã«ã¦ã³ããä½ã£ãã Net::FTP ã§æ¥ç¶å¯è½ã以ä¸ã¯ FTPS æ¥ç¶ããPWD ãçºè¡ãã Ruby ã³ã¼ ããpassword ã¯ãã¹ã¯ãã¦ããã #!/usr/bin/env ruby require 'net/ftp' ftps = Net::FTP.new( 'masutaka.brickftp.com', ssl: true, username: '[email protected]', password: '********', debug_mode: true, ) puts ftps.pwd çµæã con
{{#tags}}- {{label}}
{{/tags}}