![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| removing frame charecters | tkbharani | UNIX for Advanced & Expert Users | 6 | 04-16-2008 02:39 AM |
| restricted pointers | carl.alv | High Level Programming | 0 | 02-29-2008 08:34 PM |
| replacing a line of unknown charecters in a file | malavm | Shell Programming and Scripting | 12 | 07-26-2007 01:25 AM |
| HP-UX Restricted SAM | Andrek | UNIX for Advanced & Expert Users | 1 | 01-10-2007 07:37 PM |
| stripping out certain charecters | mervin2006 | Shell Programming and Scripting | 4 | 12-01-2006 05:22 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Restricted charecters in FTP password
hi
i am unable to connect to FTP server.My FTP password contain one special charecter '#'.it might be the problem for connecting.please clarify regarding this special charecter in the password.i need some information about restricted charecters in the shell script. thanks |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
How do you try to connect and fail: from inside a script or on the command line?
|
|
#3
|
|||
|
|||
|
hi
i am trying from the shell script |
|
#4
|
|||
|
|||
|
hi
from command line i am able to connect the remote server.but from the shell script with same password is not connecting.in the password last charecter is '#'. |
|
#5
|
|||
|
|||
|
Try something like this:
Code:
echo " verbose open nodename user username 'mypasswd#' get somefile bye " | /usr/bin/ftp -n |
|
#6
|
|||
|
|||
|
Hey I've tried with the password having a # at the end. Try this
Let the variables username and password have the corresponding username and password or have it directly in the script. ftp -nv $IP_ADDRESS << cmd user $username $password get file1 get file2 quit cmd |
|||
| Google The UNIX and Linux Forums |