Advertisement
troublestarter

FTP COMMANDS TEST

Jan 2nd, 2015
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.13 KB | None | 0 0
  1. require 'net/ftp'
  2.  
  3. ftp = Net::FTP.new('ftp.free.fr')
  4. ftp.login
  5. files = ftp.list
  6. status = ftp.status
  7. puts status
  8. ftp.close
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement