The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
BatchMode issue kotasateesh UNIX for Dummies Questions & Answers 3 03-25-2008 07:20 AM
SunOS 5.8 sftp-BatchMode Problem unilover SUN Solaris 0 03-24-2008 09:57 AM
SFTP script issue sdhalepaska UNIX for Dummies Questions & Answers 0 07-05-2007 10:24 AM
Urgent need help - issue sftp bucci SUN Solaris 1 04-05-2007 05:57 AM
SFTP Issue with ssh dbridle AIX 7 04-19-2006 02:43 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-20-2008
Registered User
 

Join Date: Aug 2005
Posts: 39
sftp BatchMode issue

Hello All,
I have a issue with the below script that i am using to sftp a file.

sftp -o BatchMode=yes $sftpLogin <<EOF
cd /ftp/cds
get cdstesting.csv
quit
EOF

When i use this, the connetion establishes and the connections doesnt returns from and hangs in the connecting mode. I think there is an issue with EOF. can someone please help ?
Reply With Quote
Google UNIX.COM
Forum Sponsor
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:35 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0