[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

Issue On Unix when FTP Password has special characters

Asked by smaram1 in Unix Systems Programming, Unix Operating Systems, Operating Systems Development

I am having issues in connecting to a FTP server when the FTP Password has special characters.

I tried to escape characters  using "", '', / characters.

Most of the characters in password are special characters.

It would be great if someone can let me know how to skip characters and get this password working.

Please find the attached code.

Thanks
smaram
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
# FTP to ftp.abc.com
host=ftp.abc.com
user=testuserftp
pwd=*F<%$as!**
 
ftp -n $host <<END_SCRIPT
quote USER $user 
quote PASS $pwd
binary
lcd /local/test
mget *.*
quit
END_SCRIPT
 
Loading Advertisement...
 
[+][-]10/28/09 02:08 AM, ID: 25681114Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/28/09 05:14 AM, ID: 25682336Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/28/09 05:48 AM, ID: 25682591Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/28/09 06:14 AM, ID: 25682845Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/28/09 06:57 AM, ID: 25683252Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625