Ftp mkdir : FTP Client « Network « Ruby
- Ruby
- Network
- FTP Client
Ftp mkdir
require 'net/ftp'
ftp = Net::FTP.new('ftp.ruby-lang.org')
ftp.passive = true
ftp.login(username, password)
ftp.mkdir('test')
ftp.list('*') { |file| puts file }
ftp.close
Related examples in the same category