Re: Orderfile context problem

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18739
interpreted = N
texte = > When I use the [Orderfile] context to display the contents of order >files I am getting something unexpected. If the file I am looking for >exists everything displays as I expect. If, however, the file I am >looking for does not exist in the folder, it CREATES the file.There were complaints in the exact opposite direction; some people wanted the file created if it didn't exist. I suggest you use [FileInfo] to see if the file exists before doing anything with it, or else use [ListFiles] to walk thru the list of existing files in that folder.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Orderfile context problem (Kelly Grady 1998)
  2. Re: Orderfile context problem (Kelly Grady 1998)
  3. Re: Orderfile context problem (PCS Technical Support 1998)
  4. Orderfile context problem (Kelly Grady 1998)
> When I use the [orderfile] context to display the contents of order >files I am getting something unexpected. If the file I am looking for >exists everything displays as I expect. If, however, the file I am >looking for does not exist in the folder, it CREATES the file.There were complaints in the exact opposite direction; some people wanted the file created if it didn't exist. I suggest you use [fileinfo] to see if the file exists before doing anything with it, or else use [listfiles] to walk thru the list of existing files in that folder.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ PCS Technical Support

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:

Ongoing group search problems ... (1997) Special characters & [sendmail] (1998) [WebDNA] issues with WEBDNA on Server 2008 (2009) This list needs a digest: rant, rave... (1997) Problem with a search context (2005) Timer Values on [redirect] (1998) 2 databases (1997) Special characters & [sendmail] (1998) Proper file locations (1997) WebCatalog for Postcards ? (1997) Developer Links Exchange (2003) Upgrading old WebCat Database Files (1997) Databases inside [SHOWIF] (1998) Email notification to one of multiple vendors ? (1997) Email within tmpl ? (1997) Help!HELP!HELP! (1999) [sendmail] on NT? (1997) POST (1997) show all problem (1997) Help formatting search results w/ table (1997)