Accounting for \'s
Posted on 2006-06-28
I'm embarassed about asking this question, but 5 hours is long enough.
I have an FTP script that opens a server to "get" data to a web server. We're no long allowed to use .netrc to supply the login/password data...I don't know why.
I log on to the server from the web server to get some files with this logon:
I can do this from the command line--if I add a "\". I've tried up to 5 of the little buggers without success, tried spacing between \'s...getting nowhere.
When I try to put the login/password combo in a ftp script, it doesn't work. I'm sure it had to do with the \'s. I've tried lining up to 5 of the little buggers without success, tried spacing between \'s...getting nowhere.
I don't know if the \'s will work, or if a variable would be better.
I'd appreciate any help.