The FTP portion makes use of Net::FTP, and parses a text file for arguments (2 ftp sites), using the format:
ftp://username:password@hostname//
However, in my case, one of my usernames contains a / (beyond my control), and I can't seem to "escape" it - eg, my username is XX/yyyy, the script bombs out with "Net::FTP: hostname XX invalid" or similar. I've tried changing the username field in the text file to be XX//yyyy, which has the same effect as above, and XX\/yyyy which bombs out with "hostname XX\ invalid".
I'm not sure what Net::FTP is looking for to let me do this; I also couldn't find anything relating to whether or not a / will EVER be parsed correctly as a username by Net::FTP even if passed as an argument and not in the main ftp syntax line.
Also, if anyone knows of any other script/tool already available (pref. free), I'd like to hear about it - this was the only one I could find (searched freshmeat, google).
Thanks,
Glenn
In reply to Net::FTP - syntax with username containing / by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |