Auto-download file from SFTP to local drive on periodic basis

Advertisement

vinodhan87
Joined:
Posts:
1
Location:
malaysia

Auto-download file from SFTP to local drive on periodic basis

Hi,

I've set up a SFTP server on a remote computer, with username/password/port no. My team uploads documents to that SFTP on a periodic basis (10-20 mins once)

I currently use the WinSCP client on my home/office computer to download the uploaded files. However, this is done once every 20-30 mins manually.

Question:
How do i get my home/office computer (in sequence)
1.to run WinSCP perpetually
2.scour the remote FTP every 10 mins for a new file.
3. If no file found, do nothing
4. if new file found, download the file to a local directory (C:/Desktop/PersonalFolder)

I know i'd need a script to do this but have no clue where to get started.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum