What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: [WebDNA] Uploading Specific File Types

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102289
interpreted = N
texte = --Apple-Mail-7-196747529 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Coincidentally, I have been using lots of different things in jquery lately. It seems to be a very compact, stable and cross-platform library of JavaScript widgets like calendars, accordion menus and it includes file upload. The script can detect and restrict files by type, size, quantity, etc. Visit . They have done some small, but important enhancements to the jquery file upload. Their version allows you to select multiple files while in the file dialog. Surprisingly, most file upload scripts only allow adding a single file each time you open the file dialog. Talk about frustrating! The uploadify version will probably save mice and keyboards everywhere. Anyone who uses SiteBuilder may have noticed that there is a .CAB file uploader that works in Windows IE. It places a GUI file browser right in a web page so users can navigate their own file tree, selecting and uploading in batches. Although it's probably a prime example of why Windows is so virus ridden, I still wish there was a JavaScript equivalent so that this feature would appear the same regardless of platform or browser. Either way, you have to assume that you're probably doing this for users that need to upload web content, but are not experienced enough for FTP or other means. That means that they will probably expect to be able to select multiple files to upload at a time. Pat On Mar 27, 2009, at 6:34 PM, Stuart Tremain wrote: > There must be a JS that would check these things before the user hit > the submit button .... > > Regards > > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au > > On 28/03/2009, at 10:08 AM, Dan Strong wrote: > >> Exactly. Also the file-size thing is an issue since it sucks >> finding out 3GB later that the file is too big, or worse yet that >> 30 people all tried to upload 3GB files at once... >> -Dan >> >> >> On Sat, 28 Mar 2009 10:04:40 +1100 >> Stuart Tremain wrote: >>> You could check that the files names contain allowed file types, >>> however that will not stop someone putting a false extension on a >>> file. >>> Regards >>> Stuart Tremain >>> IDFK Web Developments >>> AUSTRALIA >>> webdna@idfk.com.au >>> On 28/03/2009, at 8:57 AM, >> > wrote: >>>> I have a form that is allowing for a file upload. Is there a >>>> common practice for uploading only specific files types, I can't >>>> find anything in archives? Should I not be too concerned with >>>> limiting what they upload to my Windows 2003 Server if they are >>>> locked in to a specific folder? I'm guessing that I'll need to >>>> allow for 6-8 different files types in total. >>>> --------------------------------------------------------- >>>> This message is sent to you because you are subscribed to >>>> the mailing list . >>>> To unsubscribe, E-mail to: >>>> archives: http://mail.webdna.us/list/talk@webdna.us >>>> old archives: http://dev.webdna.us/TalkListArchive/ >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> old archives: http://dev.webdna.us/TalkListArchive/ >> >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> old archives: http://dev.webdna.us/TalkListArchive/ > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ --Apple-Mail-7-196747529 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGGTCCAtIw ggI7oAMCAQICEBmvvAg5L6PclE8ruwo/gMYwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDkyNzAxM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QEJBTEPFw0wOTAzMjkxNzU3NDlaMCMGCSqGSIb3 DQEJBDEWBBT+2LX9qYkOYIgWtnsKafXNU8e61TCBhQYJKwYBBAGCNxAEMXgwdjBiMQswCQYDVQQG EwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhh d3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEBmvvAg5L6PclE8ruwo/gMYwgYcGCyqG SIb3DQEJEAILMXigdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcg KFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EC EBmvvAg5L6PclE8ruwo/gMYwDQYJKoZIhvcNAQEBBQAEggEAN4iRaZiRhopKn34FjyO9FLSgTLBn 1XTRTneuey61NXXtFlG7BWglQBVfGrTMmuCDM/R1YWhSsTBlIGrVjxGD79PSvERPWuM6z5ZvPHlI JuyKt6hNgll1GU68jaTHSxGIP12W/D1z+i6PpB7ClUmMwtYwFujnkDisYPs2HFfPXBl4nQxi+6He ifo1c72i7iMIOFqDCPeD3OnT3fH52eoXzMxsZ/OEl438cEb4vxVFNhwezTC2MGh7SMZ4vYPYS0mV Ze0QKWx1vyDl0eS8TIbvHzLYB5gmX3lCyHS52Yahq+I41JLAgTxCaJz9kWjii7d/sgC5hKivvomd cW/fSSf5lQAAAAAAAA== --Apple-Mail-7-196747529-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Uploading Specific File Types (Patrick McCormick 2009)
  2. Re: [WebDNA] Uploading Specific File Types (Stuart Tremain 2009)
  3. Re: [WebDNA] Uploading Specific File Types ("Dan Strong" 2009)
  4. Re: [WebDNA] Uploading Specific File Types (Stuart Tremain 2009)
  5. Re: [WebDNA] Uploading Specific File Types ("Dan Strong" 2009)
  6. Re: [WebDNA] Uploading Specific File Types (Govinda 2009)
  7. [WebDNA] Uploading Specific File Types ( 2009)
--Apple-Mail-7-196747529 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Coincidentally, I have been using lots of different things in jquery lately. It seems to be a very compact, stable and cross-platform library of JavaScript widgets like calendars, accordion menus and it includes file upload. The script can detect and restrict files by type, size, quantity, etc. Visit . They have done some small, but important enhancements to the jquery file upload. Their version allows you to select multiple files while in the file dialog. Surprisingly, most file upload scripts only allow adding a single file each time you open the file dialog. Talk about frustrating! The uploadify version will probably save mice and keyboards everywhere. Anyone who uses SiteBuilder may have noticed that there is a .CAB file uploader that works in Windows IE. It places a GUI file browser right in a web page so users can navigate their own file tree, selecting and uploading in batches. Although it's probably a prime example of why Windows is so virus ridden, I still wish there was a JavaScript equivalent so that this feature would appear the same regardless of platform or browser. Either way, you have to assume that you're probably doing this for users that need to upload web content, but are not experienced enough for FTP or other means. That means that they will probably expect to be able to select multiple files to upload at a time. Pat On Mar 27, 2009, at 6:34 PM, Stuart Tremain wrote: > There must be a JS that would check these things before the user hit > the submit button .... > > Regards > > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au > > On 28/03/2009, at 10:08 AM, Dan Strong wrote: > >> Exactly. Also the file-size thing is an issue since it sucks >> finding out 3GB later that the file is too big, or worse yet that >> 30 people all tried to upload 3GB files at once... >> -Dan >> >> >> On Sat, 28 Mar 2009 10:04:40 +1100 >> Stuart Tremain wrote: >>> You could check that the files names contain allowed file types, >>> however that will not stop someone putting a false extension on a >>> file. >>> Regards >>> Stuart Tremain >>> IDFK Web Developments >>> AUSTRALIA >>> webdna@idfk.com.au >>> On 28/03/2009, at 8:57 AM, >> > wrote: >>>> I have a form that is allowing for a file upload. Is there a >>>> common practice for uploading only specific files types, I can't >>>> find anything in archives? Should I not be too concerned with >>>> limiting what they upload to my Windows 2003 Server if they are >>>> locked in to a specific folder? I'm guessing that I'll need to >>>> allow for 6-8 different files types in total. >>>> --------------------------------------------------------- >>>> This message is sent to you because you are subscribed to >>>> the mailing list . >>>> To unsubscribe, E-mail to: >>>> archives: http://mail.webdna.us/list/talk@webdna.us >>>> old archives: http://dev.webdna.us/TalkListArchive/ >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> old archives: http://dev.webdna.us/TalkListArchive/ >> >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> old archives: http://dev.webdna.us/TalkListArchive/ > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ --Apple-Mail-7-196747529 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGGTCCAtIw ggI7oAMCAQICEBmvvAg5L6PclE8ruwo/gMYwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDkyNzAxMTg1M1oXDTA5MDkyNzAxMTg1 M1owPjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEbMBkGCSqGSIb3DQEJARYMcG1A d2ViZG5hLnVzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtb7ZYYJV7sbgqxdgpBU/ qCRsIJYGNIo40L9odKmo6Y/mPBybeSry8KefqmuWoBXxc6xCvSSJDWFcb2sZ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vvAg5L6PclE8ruwo/gMYwgYcGCyqG SIb3DQEJEAILMXigdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcg KFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EC EBmvvAg5L6PclE8ruwo/gMYwDQYJKoZIhvcNAQEBBQAEggEAN4iRaZiRhopKn34FjyO9FLSgTLBn 1XTRTneuey61NXXtFlG7BWglQBVfGrTMmuCDM/R1YWhSsTBlIGrVjxGD79PSvERPWuM6z5ZvPHlI JuyKt6hNgll1GU68jaTHSxGIP12W/D1z+i6PpB7ClUmMwtYwFujnkDisYPs2HFfPXBl4nQxi+6He ifo1c72i7iMIOFqDCPeD3OnT3fH52eoXzMxsZ/OEl438cEb4vxVFNhwezTC2MGh7SMZ4vYPYS0mV Ze0QKWx1vyDl0eS8TIbvHzLYB5gmX3lCyHS52Yahq+I41JLAgTxCaJz9kWjii7d/sgC5hKivvomd cW/fSSf5lQAAAAAAAA== --Apple-Mail-7-196747529-- Patrick McCormick

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:

problem: search crashes webstar (1997) carriage returns in data (1997) Location of Webcat site in folder hierarchy (1997) ThisURL on Unix (2000) Mac Vs WindowsNT (1997) Help with dates (2001) Attaching a plain text file via [sendmail] (2001) Uh...can someone help me out with the b10? (1997) (1997) Problem with ShoppingCart.tpl refresh (2000) update on wn searching (1997) Hiding usernames and passwords in URL (1998) database size? (1997) MacAuthorize order data fields WAS:How To question... (1997) SPAM is SPAM is SPAM.... Smith Micro - no competition (2000) when is date system date or order date? (1997) StoreBuilder UPS/XML code question ... (2003) Snake Bites (1997) A *secret* new webdna tag !!! (1999) Error:Too many nested [xxx] contexts (1997)