WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

WinInet
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Secure FTP Issues

Keywords: 	  secure ftp

Question:

Is there currently a way to do Secure FTP via Winbatch? I am familiar with the FTP commands but not with SFTP. SFTP uses SSH. There are some utilities out there but I need to create a custom utility for my users.

Answer:

Sorry, no direct way to do it. All WinBatch can do here is to automate a third party utility.

I looked at doing something along the lines of an extender based on the OpenSSH source code, but there are some legal issues involved for companies here in the USA who try to release programs based on OpenSSH. Basically, you end up having to deal with the Bureau of Export Administration and we have to track who all the people & companies that purchase/download the software and where they are located. There is a list of 7 countries as well as numerous individuals and corporations that are on a black-list and are not to be provided with cryptological technology by any software developers [either companies or individuals] working inside the USA.

It appears that the primary provider of DLL and Share Object library builds of OpenSSL [crypto socket library] is based in Finland, which has much more relaxed laws concerning the export of crypto-enabled software. IIRC, a lot of the executable builds of OpenSSH come from Finland, too.

More:

Take a look into the freeware application called WinSCP. WinSCP is an open source freeware SFTP client for Windows using SSH. Legacy SCP protocol is also supported. Its main function is safe copying of files between a local and a remote computer.

It apparently supports batch file scripting and command-line interface. Maybe you could use WinBatch to launch this application via via its commandline interface to do what you need.

http://winscp.net/eng/docs/introduction

Using dotNet:http://winscp.net/eng/docs/guide_dotnet


Article ID:   W15437
File Created: 2017:07:28:13:58:49
Last Updated: 2013:10:31:13:45:11