![]() |
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 |
| scp automated script | gholdbhurg | UNIX for Advanced & Expert Users | 5 | 10-27-2008 01:23 AM |
| automated sftp script | klindel | Shell Programming and Scripting | 2 | 05-13-2008 01:45 AM |
| automated sftp procedure interrupted | boyin.huang | Shell Programming and Scripting | 2 | 05-06-2008 11:07 AM |
| Need automated shell script please | uneex | Shell Programming and Scripting | 2 | 05-02-2008 08:36 AM |
| help for automated script | splax | UNIX for Advanced & Expert Users | 4 | 12-26-2006 05:36 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Automated SFTP script
Hi All,
I am writing an automated SFTP script to xfer files. I am able to do sftp in batch mode and it is working absolutely fine. The problem is that on redirecting the output of SFTP session to some file, it is not writing about the status of SFTP operation. All i can see in output file is : sftp> put file2.dst2 Uploading file2.dst2 to /data05/FTP_test/dst2/file2.dst2 Whereas in interactive mode the output is :- sftp> put file2.dst2 Uploading file2.dst2 to /data05/FTP_test/dst2/file2.dst2 file2.dst2 100% 4096 4.0KB/s 00:00 I need to know the status of the SFTP operation so as to rename the files successfully xferred... Am i missing anything here ?? Please help.. |
|
||||
|
you might consider using the FTCL scripting language .. supports FTP/S and SFTP and allows you to send debug information to a file.
Secure FTP Factory - Java SFTP, Java Secure FTP, Java FTPS, Java FTP, FTP SSL, FTP SSH |
|
||||
|
I would say if you are scripting SFTP sessions, you should not use SFTP as your client program, but a generic FTP program called LFTP (LFTP - sophisticated file transfer program) using an SSH/SFTP protocol. Covers all sorts of FTP-ish protocols and has great shell scripting support
|
|
||||
|
hi aggar_y
i am trying to implement the SFTP script in solaris. could you please send me the snippet of the code which is working for you? |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| sftp script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|