![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help with awk - how to read a content of a file from every file from file list | tanit | Shell Programming and Scripting | 7 | 03-10-2009 05:19 AM |
| file size comparision local file and remote file | dba.admin2008 | Shell Programming and Scripting | 4 | 11-13-2008 05:57 PM |
| sftp -> put : How to uplaod only newer files | _prasad | UNIX and Linux Applications | 0 | 07-23-2008 12:07 PM |
| Reading a file and writing the file name to a param file. | thebeginer | UNIX for Advanced & Expert Users | 1 | 10-05-2007 04:38 PM |
| Reading file names from a file and executing the relative file from shell script | anushilrai | Shell Programming and Scripting | 4 | 03-10-2006 05:25 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
file uplaod using FTP
Hi All,
When i upload a file using ftp in shell script like below, am unable to upload the file. please see the log file and let me know what is the problem... ====Code for test.sh====== TPUSER="12323" FTPPW="*****" DIR="/home/test/" CD="cd ${DIR}" TEMPFILE1="green.txt" TEMPFILE2="green.txt" chmod 755 free.txt ftp -inv 334.3.23.23 > $TEMPFILE1 2> $TEMPFILE1 << EOF user $FTPUSER $FTPPW binary prompt passive ${CD} put free.txt close bye end ==================Log File================= KERBEROS_V4 rejected as an authentication type to SecureTransport! 220- 220 Secure FTP Server ready. 504 AUTH GSSAPI not supported. 504 AUTH KERBEROS_V4 not supported. 331 Password required for pbommire. 230 User pbommire logged in. 200 Type set to I. Interactive mode on. Passive mode off. 250 CWD command successful. local: free.txt remote: free.txt 200 PORT command successful. 553 free.txt: Permission denied. (upload). 221 Goodbye. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|