|
[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. |
|
|
|
|
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
|
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625