I need to ftp PDF files to our printer. Using the script below, I’m
trying to do that, but, it ain’t working. It just sits there. I ftp
manually to the same site to see if anything’s getting there, and, no,
nothing is. Can someone see what’s wrong here? I’ve tried it with IRB,
too, but that doesn’t work either.
indexfiles = Dir.glob("*.pdf")
indexfiles.each do |indexfile|
ftp = Net::FTP.open(‘mpc.bna.com’) do |ftp|