# Automated FTP SSL/TLS file transfer

Hi,

I'm currently using WinSCP with a script in combination with Windows 2003 scheduler accessory tool in order to automated an ftp transfer. The transfer needs to use SSL/TLS with port 990 in passive connection mode. For some reason the connection to the server is intermittent and the script hangs when during the file transfer the connection times out.

I will like to get suggestions for any FTP SSL/TLS capable program, either paid, open source or free license that works with windows 2003 and can automate the file transfer process by itself by configuring some sort of wizard and that it keeps retrying even in case of a connection problem.
###### Who is Participating?

Author Commented:
I ended up using ScriptFTP. The scripts and schedule are self contained within the client program.

http://www.scriptftp.com/
0

Commented:
It sounds like you need Robo-FTP.  It requres writing a script but it has a wizard to help with that although I have never used the wizard for anything significant because the scripting language is pretty easy to learn and just write what you need.

Since you are connecting on 990 it sounds like you are using Implicit Mode FTPS.  The Robo-FTP script to retry a failed download 10 times would look something like this:
LOG "download_script.log"
LOOPCOUNT 10  ;; number of times to use LOOPTO command below

:transfer_attempt
FTPLOGOFF  ;; ignore error if not connected
FTPLOGON "ftp.somewhere.org" /user="MyUserID" /pw="Secret" /servertype=FTPSIMP  ;; Implicit Mode FTPS
RCVFILE "Data.xls"
IFERROR= $ERROR_SUCCESS GOTO transfer_done LOOPTO transfer_attempt ;; If we got here we failed 10 times! ;; ToDo: Might want to send an email here :transfer_done FTPLOGOFF STOP ;; change this to EXIT when ready for production  This is a$150 paid program but you get a year of support.  Download the 30-day trial from the web site and see if it works for you.
0

Author Commented:
I will take a look at it but I was told not to use Windows Server 2003 schedule task tool.
0

Commented:
You would use a Windows Scheduled Task to launch the Robo-FTP command script listed above... If you saved the script under a file name of download.s and assuming your "start in" folder was the Robo-FTP program install folder then the command line to use in the scheduled task would look something like this:
0

Commented:
Oh sorry, I read your requirements wrong.  I thought you wanted to use the scheduled task!  Robo-FTP has its own internal scheduling options as well.  Sorry about that.
0

Author Commented: