The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Windows & DOS: Issues & Discussions
Google UNIX.COM



Thread: FTP using SFU
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-26-2007
ilak1008 ilak1008 is offline
Registered User
 

Join Date: May 2005
Posts: 64
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.
Reply With Quote
Remove advertisements
!!
Forum Sponsor