Welcome to the Monastery | |
PerlMonks |
Net::FTP and filenames with spacesby amelinda (Friar) |
on Feb 12, 2002 at 19:08 UTC ( [id://144952]=perlquestion: print w/replies, xml ) | Need Help?? |
amelinda has asked for the wisdom of the Perl Monks concerning the following question:
So, I just went and upgraded to a newer libnet in the hopes that it would handle filenames with spaces better. (As per Spaces in file names with Net::FTP) Unfortunately, I couldn't find any examples which showed -how- people made the newer Net::FTP work with spaces in filenames. Of course, I'm trying to build the filenames on the fly (with timestamps), instead of just a 'string filename'.
My current code is as follows:
I'm sure that this could be written more tightly. I'm far more interested in 'working' than 'tight' right now, since this needs to be working before I leave for a week this evening. I have verified that I am connected to the server, am logged in correctly, and can download the other files that don't have spaces in them. Someone's got to know... please help.
Back to
Seekers of Perl Wisdom
|
|