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: What is the command/syntax to download unique file names?

But the technique to solve your problem is exactly the same. You just want to chang source file timestamp not destination file timestamp.
Guest

Re: What is the command/syntax to download unique file names?

martin wrote:

Please read documentation:
https://winscp.net/eng/docs/script_download_timestamped_filename

If that does not help, come back.



What I mean is...What if the file you are DOWNLOADING is timestamped AND you can predict what the filename will be in future. NOT the other way around like you reply link suggests.

Cheers
Tristram

What is the command/syntax to download unique file names?

I need to automate downloading a file from an FTP server.

This is format of the file name includes the date and updates constantly

example: Filename_2013_03_14_1010.dat

the next day will be...

Filename_2013_03_15_1010.dat then
Filename_2013_03_16_1010.dat up to
Filename_2013_03_31_1010.dat then it will update to
Filename_2013_04_01_1010.dat and so on...


What is the command/syntax to handle this situation with a changing date?