|Subject:||Re: FTp client - get newest file given base name only|
|Posted by:||Remy Lebeau (TeamB) (firstname.lastname@example.org)|
|Date:||Mon, 10 Apr 2006|
"Eric Carlson" <email@example.com> wrote
> This is for WiFi cameras which timestamp their files, such as
> Basename-20060401103021.jpg, Basename-20060401103022.jpg
> etc. I have the Indy 9 ftp client working for a fully qualified filename
> but want the newest in these circumstances please.
Sorry, but there is nothing in the FTP protocol for what you ask. You will
have to perform a directory listing to get all of the available filenames,
and then parse them to figure out which file is the latest, and then finally
download that file using its fully qualified name.
FTp client - get newest file given base name only posted by Eric Carlson on Mon, 10 Apr 2006