File Format Validation
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 63373
interpreted = N
texte = I'm allowing a client to upload a database file, but I want to verifycertain aspects. I will allow them to upload the file into a holding areawhere I'll perform the various checks below before flushing and overwritingthe existing database.1. Make sure the file name is EXACTLY ben_dealers.db2. Make sure the first line of the DB contains headers3. Make sure the file is tab-delimitedI 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/
Associated Messages, from the most recent to the oldest:
I'm allowing a client to upload a database file, but I want to verifycertain aspects. I will allow them to upload the file into a holding areawhere I'll perform the various checks below before flushing and overwritingthe existing database.1. Make sure the file name is EXACTLY ben_dealers.db2. Make sure the first line of the DB contains headers3. Make sure the file is tab-delimitedI 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/
Clint Davis
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:
State DB & TIme Zones (2003)
Webcatalog and foreign languages (1998)
much help needed NEWBIE alert (2000)
Please ignore, TEST (2001)
Showing once on a founditems (1997)
Server Load (2000)
[WebDNA] Encrypted password issue (2009)
[WebDNA] XML Https Issue (2017)
RE: Purchased cart being overwritten - still !?? (1997)
Help! WebCat2 bug (1997)
Smart caching problems with 2.1b3? (1997)
adding options to form (2004)
Hiding HTML and breaking the page (1997)
Using Cookie for client specific info? (1997)
sort problems....bug or brain fart? (1997)
Before I Can Begin . . . (1998)
SSL, WebSTAR, WebCatalog (1998)
'does not contain' operator needed ... (1997)
[WebDNA] Dates (2009)
Strange Crash (1998)