in reply to Re^3: net::ftp - passwords
in thread net::ftp - passwords

Thank you roboticus, I will try to define my problem in broad terms, the example code is a result of many attempts to solve this. It may not be perfectly accurate. I want my perl program to read in a list of servers,passwords, accounts, source file from say, a comma delimited file, then for each line of the input ftp the file to the destination server. Very easy to do!! Except, when you encounter reserved characters in the user defined password. One example of a user defined password that fails to connect is "Peleton@1". All manor of quote combinations was used. Note When "Peleton@1" is declared as a literal in the program successful connection is achieved, so the issue is in the parameter passing process. Thank you

Replies are listed 'Best First'.
Re^5: net::ftp - passwords
by roboticus (Chancellor) on May 18, 2012 at 09:52 UTC

    fagersz:

    If you don't show the code that you're having a problem with, how can we help? I made my suggestion based on the code you gave us.

    Anyway, you *shouldn't* need to escape the special characters in the password. Why don't you present the actual code you're trying to fix, and give us the error messages that you receive, and we can go from there.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.