sftp script error
I've written a simple batch that look like this:
---------------------------------------------------------- cd /home/user/files get test.dat bye ---------------------------------------------------------- Now in a script i've written i use the batch like this: ---------------------------------------------------------- date cd /usr/local/files sftp -b batchfile user@server ---------------------------------------------------------- the problem is that sftp does not exit on 'bye' or 'exit' or 'quit' how do i fix this? |
"the problem is that sftp does not exit on 'bye' or 'exit' or 'quit'"
Try: <cntrl> <c> ___________________________________ Be prepared. Create a LifeBoat CD. http://users.rcn.com/srstites/LifeBo...home.page.html Steve Stites |
All times are GMT -5. The time now is 02:07 PM. |