Re: searching for last file in a directory

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22550
interpreted = N
texte = But this should only work in 3.0, otherwise you have to store the filenames in a temporary database;-)(i like the 3.0 solution better ;-)/Martin >>Hi there! >> >>Has anyone a handy solution for displaying the last file (alphabetically) >>in a given subdirectory? >> >>like >> >>afolder/01.pic >>afolder/02.pic >>afolder/03.pic >>afolder/04.pic <-- this one needs to be displayed >> >>It has to do something with [listfiles], but I cant get any further > >[ListFiles] >[TEXT]lastFile=[FileName][/TEXT] >[/ListFiles] > >The file you want to display is: [lastFile] > > ************************************************************* > Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 > Ljusa Ideer AB S-211 37 Malmoe Fax +46 40 97 99 77 > Sweden http://www.ljusaideer.se Associated Messages, from the most recent to the oldest:

    
  1. Re: searching for last file in a directory (Kenneth Grome 1999)
  2. Re: searching for last file in a directory (Martin Bech 1999)
  3. Re: searching for last file in a directory (Christer Olsson 1999)
  4. searching for last file in a directory (Matthias Precht 1999)
But this should only work in 3.0, otherwise you have to store the filenames in a temporary database;-)(i like the 3.0 solution better ;-)/Martin >>Hi there! >> >>Has anyone a handy solution for displaying the last file (alphabetically) >>in a given subdirectory? >> >>like >> >>afolder/01.pic >>afolder/02.pic >>afolder/03.pic >>afolder/04.pic <-- this one needs to be displayed >> >>It has to do something with [listfiles], but I cant get any further > >[listfiles] >[text]lastFile=[FileName][/TEXT] >[/ListFiles] > >The file you want to display is: [lastFile] > > ************************************************************* > Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 > Ljusa Ideer AB S-211 37 Malmoe Fax +46 40 97 99 77 > Sweden http://www.ljusaideer.se Martin Bech

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Quickie question on the email templates (1997) Using Eudora instead of Emailer, and cron facility (1998) POST Datamissing? (1998) Sandbox Question (2003) WebCat2 - storing unformatted date data? (1997) [WebDNA] TCPconnect problem (2011) TCP connect, how long does it take (PCS please) (1999) WebMerch/Emailer Error (1998) Help name our technology! (1997) Updating checkboxes made easy !!! (1998) Special characters in field names (1998) Bug Report, maybe (1997) Cold Fusion Buster (1997) select multiple (1997) WebSTAR 2.1 freezes my Mac (1997) PIXO support (1997) Preventing Safari caching (2003) Free Utility (2003) NetSplat and WebCat2 (1997) [WebDNA] An unknown error occured // Deadlock avoided (2011)