|
FTP using SFU
I’m trying to ftp a file from Solaris to Windows XP Pro using SFU and the command that I used is as follows:
ftp –n “host” << cmd
user “loginname” “password”
cd Directory
ls filename error
bye
cmd
If the filename does not exist, it shows the following output:
Output to local-file: error? n, y, p, a, are the only acceptable commands!
Output to local-file: error?
Could you tell me what’s wrong with my script above.
|