Link to home
Start Free TrialLog in
Avatar of Davidfoley
Davidfoley

asked on

SFTP Downloads

I was wandering if it is possible to automatically connect to a sftp site and download files ?

what i would like to do is download the same file over and over for the reasons of
1. Test FTP speed with that i would have a saved Log text file with time it took to download
2. Test connective to the FTP Server that if connection failed i should receive an email
Avatar of Steven Vona
Steven Vona
Flag of United States of America image

What kind of machine are you using to download?

If it is a linux machine, you can use the sftp command line tool and set a cronjob or write a script to loop.

If you are using windows, I would suggest writing a small script for winscp.
Avatar of Davidfoley
Davidfoley

ASKER

Hi Savone.

Im using Windows. can winscp display time stamps ? and email notifications if connection fails ?
ASKER CERTIFIED SOLUTION
Avatar of Steven Vona
Steven Vona
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
As far as WinSCP and email notifications, I don't think that functionality is there.  Here is the documentation for WinSCP scripting and automation:

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