![]() |
|
|
|
|
|||||||
| 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 |
| Error FTP transfer file | cuongpc | HP-UX | 3 | 02-28-2008 10:19 AM |
| scp error code after successful transfer - $? appears incorrect | badtea | Shell Programming and Scripting | 5 | 06-21-2007 07:27 PM |
| ftp transfer | Remi | SUN Solaris | 3 | 01-24-2007 03:21 PM |
| Transfer passwords | dlkox | UNIX for Dummies Questions & Answers | 1 | 01-23-2002 03:51 PM |
| How do i transfer files | phsoft | UNIX for Advanced & Expert Users | 4 | 09-19-2001 02:48 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
FTP Transfer error
Hi !
I created a similar script as shown below to automate an FTP transfer and encountered errors. Appreciate any advice to resolve this issue. The script: #!/usr/bin/ksh ftp 'IP ADD' << cmd user 'user' 'pass' lcd /home/data get 'FileA' FileB quit cmd Connected to 'IP_ADD'. 220 Connection will close if idle for more than 5 minutes. 331 Send password please. 530 PASS command failed Login failed. Local directory now /home/data 200 Representation type is Image 200 Port request OK. 530 Not logged in. 221 Quit command received. Goodbye. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
http://www.unix.com/shell-programmin...#post302144031
It is good to search/read other posts and see if other similar problems have already been addressed. |
|
#3
|
|||
|
|||
|
Hi,
There is no ./netrc file to be found in my home folder. Is there any other way to automate the FTP... Thanks Cosec |
|
#4
|
|||
|
|||
|
Then create one.
|
|||
| Google The UNIX and Linux Forums |