Re: Share Snippet?
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23838
interpreted = N
texte = >Charlie,>>Try this:>>[WRITEFILE files.db]Filename>[/WRITEFILE]>>[listfiles images/]>[append db=files.db]Filename=[filename][/append]>[/listfiles]>>[search db=files.db&nefilenamedata=0]>[founditems]>

>[/founditems]>>[ShowNext position=begin&max=1]>
Previous>[/ShowNext]>>[ShowNext position=end&max=1]>
Previous>[/ShowNext]>>This is just off the top of my head, and may not be the fastest or most>elegant way, or it may not even work ;)>>Let me know if it helps.>>JohnThanks JohnI actually went a similar route yesterday. When I made the initial post Iwas hoping to do it without involving a database at all. Something likelistfiles, countfiles, then increment the index by one showing backward andforward href's. I just didn't have time to figure it out.If I get a chance to figure it out or if someone else on the list knows howto do it can you please post it.I want the customer to be able to drop via ftp new images in the folder andjust have WebCat deal with it without involving any db'sThanks,Charlie______________________________________________________________________Charlie RomeroDirector of Corporate Development(703) 299-3585mailto:charlie@jumpinternet.com______________________________________________________________________ J U M P I N T E R N E TINFORMATION MANAGEMENT SYSTEMS INTERNET/INTRANET SOLUTIONS http://www.jumpinternet.com______________________________________________________________________
Associated Messages, from the most recent to the oldest:
>Charlie,>>Try this:>>[WRITEFILE files.db]Filename>[/WRITEFILE]>>[listfiles images/]>[append db=files.db]Filename=[filename][/append]>[/listfiles]>>[search db=files.db&nefilenamedata=0]>
[founditems]>

>[/founditems]>>[ShowNext position=begin&max=1]>
Previous>[/ShowNext]>>[ShowNext position=end&max=1]>
Previous>[/ShowNext]>>This is just off the top of my head, and may not be the fastest or most>elegant way, or it may not even work ;)>>Let me know if it helps.>>JohnThanks JohnI actually went a similar route yesterday. When I made the initial post Iwas hoping to do it without involving a database at all. Something likelistfiles, countfiles, then increment the index by one showing backward andforward href's. I just didn't have time to figure it out.If I get a chance to figure it out or if someone else on the list knows howto do it can you please post it.I want the customer to be able to drop via ftp new images in the folder andjust have WebCat deal with it without involving any db'sThanks,Charlie______________________________________________________________________Charlie RomeroDirector of Corporate Development(703) 299-3585mailto:charlie@jumpinternet.com______________________________________________________________________ J U M P I N T E R N E TINFORMATION MANAGEMENT SYSTEMS INTERNET/INTRANET SOLUTIONS http://www.jumpinternet.com______________________________________________________________________
Charlie Romero
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:
Formulas What if. (1999)
User/pass with tcpconnect (2000)
[WebDNA] Append speed limits (2008)
Re:quit command on NT (1997)
Version f1 status (1997)
ErrorMessages.db suggestion (1997)
webcat nt (1997)
UPS/FEDEX/OTHER Ship lookups available?? (1998)
tiny Linux issue (1999)
WebCat2 several catalogs? (1997)
WebCatalog and WebTen (1997)
WebDNA-Talk Digest mode broken (1997)
[WC 2.1.30] Stack overflow. (2000)
your mail (2000)
Quickie question on the email templates (1997)
WebDNA Solutions ... sorry! (1997)
Further on formula.db failure to calculate shipCost (1997)
Am I going senile? (Price recalc based on quantity) (1997)
New 4.5 installer (2002)
default value from Lookup (was Grant, please help me) (1997)