The following code downloads the file via ftp and it works.
require 'net/ftp' ftp = Net::FTP.new ftp.passive = true ftp.connect("***") ftp.login("***","***") ftp.chdir "claimsecure-xml-files" ftp.putbinaryfile("file.xls",File.basename("file.xls")) ftp.quit
But how can I assure you that the download was successful?
ruby ftp
Autodidact
source share