Unix Scrpting - sftp

To the Ipswitch web site

Ipswitch Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Unix Scrpting - sftpExpand / Collapse
Author
Message
Posted 8/23/2005 11:52:06 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/16/2005 5:53:00 PM
Posts: 5, Visits: 1
Hi there,

We want to automate sftp by scripting in a UNIX box (SCO UNIX) as a client. The WS_FTP Pro is installed in a WIN 2003 Server. We tried as described at http://www.snailbook.com/faq/scripting-sftp.auto.html. But, it does not work for us.

When we tried sftp -v userid@remoteserver,

Connecting to remoteserver...
OpenSSH_4.1p1, OpenSSL 0.9.7g 11 Apr 2005
debug1: Reading configuration data /usr/local/etc/ssh_config
debug1: Connecting to remoteserver [remoteserver_IP] port 22.
debug1: Connection established.
debug1: identity file /home/careconn/.ssh/id_rsa type -1
debug1: identity file /home/careconn/.ssh/id_dsa type -1
debug1: ssh_exchange_identification: 220 vhqstdb1 X2 WS_FTP Server 3.1.3 (1177576476)

The questions are,
1. Can we use .netrc file with sftp?
2. Do we need to include certificate info in the script?
3. Is there a sample automated UNIX script for sftp?

Any help much appreciated.

Thank you in advance,
Chandi
Post #9670
Posted 8/24/2005 4:58:21 PM


Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Ipswitch Employees
Last Login: 12/3/2007 2:14:36 PM
Posts: 65, Visits: 2

This is the forum for Ipswitch Instant Messaging; try posting here instead: http://www.ipswitch.com/forums/messages.aspx?ForumID=14 or contact Technical Support here: http://www.ipswitch.com/support/ws_ftp/email_support.asp

mb

Post #9720
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Mark Singh, kevin r gillis, Jason Benton, Brandon Felger, Ben Henderson, Tripp Allen, Will Sansbury, Hush, FTPplanet.com, Hugh Garber, WUP-PM, mmulryan@ipswitch.com, mswimm

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 7:34pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.047. 8 queries. Compression Enabled.