require 'net/ftp' ftp = Net::FTP.new('ftp.domain.com') ftp.passive = true ftp.login ftp.chdir('/your/folder/name/here') ftp.putbinaryfile('local_file') ftp.close