![]() |
|
|
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 |
| problem with dd command or maybe AFS problem | Anta | Shell Programming and Scripting | 0 | 08-25-2006 11:10 AM |
| SSH Problem auth problem | budrito | UNIX for Advanced & Expert Users | 1 | 03-17-2004 10:12 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Ftp problem
hi i have written a shell to automate the ftp process for the particular file.iam getting errors when try to ftp it.And i am cant get why the lcd is not being taken properly as it is taking during runtime.can anyone give me a solution
here its my code DATE=`date '+%d_%m_%Y'` FILE=backup_xxx_${DATE}.dmp echo "Starting FTP Process" echo "Starting FTP Process" >> log_backup_${DATE}.txt echo " Please Enter the local Directory for put the Dump ::" read DIRECTORY echo "File Name For taking the Dump is ::${FILE}" ftp -n servername <<END_SCRIPT > /efe/htrd/FTP_log_${DATE}.log 2>&1 quote USER xxx quote PASS xxx bin hash lcd "$DIRECTORY" get $FILE bye END_SCRIPT if [ $? -eq 0 ] then echo "FTP Status for xxx :: SUCESS" echo "FTP Status for xxx :: SUCESS" >> log_backup_${DATE}.txt else echo "FTP Status for xxx :: FAILED" echo "FTP Status for xxx :: FAILED" >> log_backup_${DATE}.txt exit fi echo " End FTP Process" echo " End FTP Process" >> log_backup_${DATE}.txt and the FTP_log is Authentication type KERBEROS_V4 not implemented; use 'GSSAPI'. KERBEROS_V4 rejected as an authentication type local: D:\Download: No such file or directory Hash mark printing on (1024 bytes/hash mark). |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|