File upload in Mac OS X

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43970
interpreted = N
texte = HiWe have happily used the WebDNA file upload feature on WebSTAR 4.2, Mac OS 9, WebCatalog 3.07 with no problems, testing this same code on OS X, Apache, WebDNA 4.5 fails.I am trying to upload a small jpeg called 'bob.jpg' and I have the following code on upload1.html...

...and this on upload2.html... [formvariables] [index],[name],[value]
[/formvariables] All I get on upload2.html under OS X is the following line...1,Content-Disposition: form-data; name=large_image; filename=bob.jpg Content-Type: image/jpeg,ÿØÿàUnder OS 9 I get (as expected) the full output of the file data.1,Content-Disposition: form-data; name=large_image; filename=bob.jpg Content-Type: image/jpeg,ÿØÿà19:08:37‘’19:08:37(chopped off here by me for this email)All the spaces in the file data are filled with a little square box (unrecognized character?)It seems that on OS X the formvariables are barfing on the first unrecognized character. Is there something I need to set somewhere?Paul------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: File upload in Mac OS X - fixed (Paul Willis 2002)
  2. Re: File upload in Mac OS X (Dan Strong 2002)
  3. Re: File upload in Mac OS X (Brian Fries 2002)
  4. File upload in Mac OS X (Paul Willis 2002)
HiWe have happily used the WebDNA file upload feature on WebSTAR 4.2, Mac OS 9, WebCatalog 3.07 with no problems, testing this same code on OS X, Apache, WebDNA 4.5 fails.I am trying to upload a small jpeg called 'bob.jpg' and I have the following code on upload1.html...

...and this on upload2.html... [formvariables] [index],[name],[value]
[/formvariables] All I get on upload2.html under OS X is the following line...1,Content-Disposition: form-data; name=large_image; filename=bob.jpg Content-Type: image/jpeg,ÿØÿàUnder OS 9 I get (as expected) the full output of the file data.1,Content-Disposition: form-data; name=large_image; filename=bob.jpg Content-Type: image/jpeg,ÿØÿà19:08:37‘’19:08:37(chopped off here by me for this email)All the spaces in the file data are filled with a little square box (unrecognized character?)It seems that on OS X the formvariables are barfing on the first unrecognized character. Is there something I need to set somewhere?Paul------------------------------------------------------------- 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://search.smithmicro.com/ Paul Willis

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:

quotes and truncating? (1997) Show next 2 examples that work (1997) Order not created error (never mind) (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) [authenticate] (1999) WebCat2b15MacPlugin - [protect] (1997) [WebDNA] Generating Excel File Via WebDNA (2010) Problems searching from a FORM (1997) Country & Ship-to address & other fields ? (1997) apparent variable variable display? (2000) Multiple Selections in Pull-Down Menu (2000) .eml files (2001) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) feature request-- [epoch] (2004) Redirect in 4.0 (2000) What am I missing (1997) Overridding E-Mailer (1998) WebCat2b13MacPlugIn - [include] (1997) Using [Include] Context (1999) Where do you put files? (2000)