Re: File Format Validation

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 63376
interpreted = N
texte = It can. Line endings are: [%0A%0D][%0A%0D]* On Nov 8, 2005, at 4:31 PM, Clint Davis wrote: > I've figured out numbers 1 & 2 below, but I'm not sure WebDNA can > check line > endings. Is this possible? > > > On 11/8/05 3:12 PM, "Clint Davis" wrote: > >> I'm allowing a client to upload a database file, but I want to verify >> certain aspects. I will allow them to upload the file into a holding >> area >> where I'll perform the various checks below before flushing and >> overwriting >> the existing database. >> >> 1. Make sure the file name is EXACTLY ben_dealers.db >> 2. Make sure the first line of the DB contains headers >> 3. Make sure the file is tab-delimited >> >> I have the upload code working fine, but I've never done the checks >> above. >> Anyone have code to share on something like this? > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: File Format Validation ( Clint Davis 2005)
  2. Re: File Format Validation ( William DeVaul 2005)
  3. Re: File Format Validation ( William DeVaul 2005)
  4. Re: File Format Validation ( Clint Davis 2005)
  5. File Format Validation ( Clint Davis 2005)
It can. Line endings are: [%0A%0D][%0A%0D]* On Nov 8, 2005, at 4:31 PM, Clint Davis wrote: > I've figured out numbers 1 & 2 below, but I'm not sure WebDNA can > check line > endings. Is this possible? > > > On 11/8/05 3:12 PM, "Clint Davis" wrote: > >> I'm allowing a client to upload a database file, but I want to verify >> certain aspects. I will allow them to upload the file into a holding >> area >> where I'll perform the various checks below before flushing and >> overwriting >> the existing database. >> >> 1. Make sure the file name is EXACTLY ben_dealers.db >> 2. Make sure the first line of the DB contains headers >> 3. Make sure the file is tab-delimited >> >> I have the upload code working fine, but I've never done the checks >> above. >> Anyone have code to share on something like this? > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ William DeVaul

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:

two unique banners on one page (1997) BBEdit and WebCatalog 2.0? (1997) Languages (1997) [WebDNA] Fwd: RETS... HELP! (2009) Strange Search Results (2004) WebCat2b13MacPlugIn - [include] (1997) Multiple catalog databases and showcart (1997) RE: MacFinder -- a new WebDNA web site (1998) Errata: WCS Newbie question (1997) WebCat2b12--[searchstring] bug (1997) suggestion (1997) Scoping rules in WebDNA 4.0 (2000) Adding discount to cart (2000) cart info (1998) Strange Form Occurrence on Log In Pages (2005) Please help (2004) triggers have stopped once again (2002) SKU lookup (1997) [WebDNA] Mailing list failure !!! (2019) WC 2.0 frames feature (1997)