Multipart Form - Ascertain File Type
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 68737
interpreted = N
texte = Hi,I was wondering if anyone knew how to ascertain what type of file was beinguploaded when using a multipart form. I'm trying to create a file uploadthat will only allow a .txt file to be uploaded. I've tried to ascertainthe file type coming in using the formvariables context but it doesn't seemto work. The form works fine...files uploading without problem. Doesanyone have any ideas?Thank you,Tana-------------------------------------------------------------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:
Hi,I was wondering if anyone knew how to ascertain what type of file was beinguploaded when using a multipart form. I'm trying to create a file uploadthat will only allow a .txt file to be uploaded. I've tried to ascertainthe file type coming in using the formvariables context but it doesn't seemto work. The form works fine...files uploading without problem. Doesanyone have any ideas?Thank you,Tana-------------------------------------------------------------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/
"Tana Adams"
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:
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
Which Version? 5.1 or 6.0? (2004)
[Announce] Newest Commerce Site based on WebCatalog (1997)
Adding multiple items to Cart at one time, & append contextproblem (1998)
[cart] not being interpreted inside [founditems] (1997)
quantity minimum problem (1997)
[OT] (waaaay OT) (2004)
Caching pages...again (2001)
I try hard to think positively (1998)
Bug or syntax error on my part? (1997)
So many lookers, hey smith micro (2003)
Plugin or CGI or both (1997)
still facing truncated [texta] problem (2000)
test (2005)
Error Messages Returned to User (1997)
Re:Part 2 - [showif] if variable exists (1998)
[CART] (1997)
Creating main- and sub-category search (1997)
For those of you not on the WebCatalog Beta... (1997)
How to best sort in a pre-defined item-by-item order ... (2003)