![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Protocols and Routing IP, IPX and other protocol support |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
|
SFTP commands
Hi,
Please can somebody guide me how to write a script for SFTP file transfer. The file was being transferred via FTP but now I need to change it to SFTP. I can connect to the remote directory via FileZilla client tool. But I need to automate the process. I have searched and found something related in similar process where the batch file "SFTP.bat" is run to do this. The commands in the batch file are.... -------------------------- C: cd \Program Files\Sterling Commerce\Enterprise Command Line Client (Secure FTP)\ ceftp -a E:\Send.txt -i -------------------------- The commands in the batch file Send.txt are.... -------------------------- open hostserver port username password quit -------------------------- So just need to run SFTP.bat for this. However, this is not working for me. The error coming for me is "Session Establishment Failure occured; reason: Connection refused: connect" Any ideas/pointers will be of a great help. |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
![]() |
| Thread Tools | |
|
|