in reply to Net::FTP

I know there was a small bug in an older version of Net::FTP that would give that error if there was a space in the filename. See my node titled Spaces in file names with Net::FTP for a little more background. It might be worth checking to see if you're running a recent version of Net::FTP. Unfortunately I don't remember the version number related to this particular issue.