Topic "Script to automatically download newest file and upload file"

Author Message
pcarr
[View user's profile]

Joined: 2014-05-15
Posts: 1
Location: Derry, NH
Hi there,

I'm new to this and am the network administrator for a non-profit in Derry NH. I have never worked with ftp scripting and am looking for some help. I need to write a script that will download the newest file off of a ftp server and place it in a specific directory. I also need a script that will take a file with a varying name in another directory and upload it to the same ftp server. Any help is appreciated. I am absolutely new at this. Thanks!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
pcarr wrote:
I need to write a script that will download the newest file off of a ftp server and place it in a specific directory.

See example at:
http://winscp.net/eng/docs/script_download_most_recent_file

Quote:
I also need a script that will take a file with a varying name in another directory and upload it to the same ftp server.

That's too vague specification. Please be more specific.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License