Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Script to automatically download newest file and upload file

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:
https://winscp.net/eng/docs/script_download_most_recent_file

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.
pcarr

Script to automatically download newest file and upload file

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!