![]() |
|
|
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 |
| Redirect output | mpang_ | Shell Programming and Scripting | 1 | 08-15-2007 09:57 AM |
| Redirect output to a file | jimmyc | UNIX for Dummies Questions & Answers | 11 | 01-31-2007 11:34 AM |
| redirect output to file | xadamz23 | Shell Programming and Scripting | 4 | 06-29-2006 12:20 PM |
| redirect output of FTP | kcaluwae | Shell Programming and Scripting | 4 | 06-23-2005 09:45 AM |
| redirect output to file? | slackware | Shell Programming and Scripting | 1 | 09-12-2003 03:57 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Redirect output from sFTP
Hey all,
I have a ksh script which used ftp to transfter certain files to a AIX server, however, now I have to switch to sFTP and I have the following problem. Originally, output=`ftp -nv $AIX_HOST << EOF 2>&1 user $AIX_USER $AIX_PASSWORD cd /hsbc/risdev/risdevhfi/app/ftp/incoming put "$filename" quit EOF` Now, I am using sFTP I don't know if I can do something like this output=sftp -B $BATCHFILE $AIX_USER@$AIX_HOST If not, what am I suppose to do to get the output from the sFTP? thanks! Later, Pang |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|