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

Advertisement

Tristram
Guest

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?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,540
Location:
Prague, Czechia

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.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum