Re: File upload in Mac OS X

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43975
interpreted = N
texte = Yes, I just built an uploader (based on the StoreBuilder code) that works like a charm for my client's purposes on OSX/Apache.-DanOn Wed, 2 Oct 2002 06:56:25 Brian Fries wrote: >Try [url]ing the [value] - there's probably some >non-displayable characters fowling up the display of the >content. File uploads work fine for me (and numerous >others) under OSX / Apache. > >- brian > >At 1:58 PM 10/2/02, Paul Willis wrote: >>Hi >> >>We 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... >> >> >>
>enctype=multipart/form-data> >> >>

>>>name=submit>

>> >> >>...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,ÿØÿàJFIFHHÿáExifII* z¤ >>¨(2°iýÄZ?Canon Canon PowerShot >>G2´´2001:12:22 >>19:08:37s??V??^?0210?? ''>' >>F'N' f'n'v' ' >> '~|'ÂÝÝ'6 0100  à ¨ >> X¢H¢P¢¢£ 2001:12:22 >>19:08:372001:12:22 19:08:37 >> >>? @ < ÿÿèà.........etc etc etc (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/ > > >------------------------------------------------------------- >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/------------------------------------------- http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656------------------------------------------------------------- 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)
Yes, I just built an uploader (based on the StoreBuilder code) that works like a charm for my client's purposes on OSX/Apache.-DanOn Wed, 2 Oct 2002 06:56:25 Brian Fries wrote: >Try [url]ing the [value] - there's probably some >non-displayable characters fowling up the display of the >content. File uploads work fine for me (and numerous >others) under OSX / Apache. > >- brian > >At 1:58 PM 10/2/02, Paul Willis wrote: >>Hi >> >>We 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... >> >> >>
>enctype=multipart/form-data> >> >>

>>>name=submit>

>> >> >>...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,ÿØÿàJFIFHHÿáExifII* z¤ >>¨(2°iýÄZ?Canon Canon PowerShot >>G2´´2001:12:22 >>19:08:37s??V??^?0210?? ''>' >>F'N' f'n'v' ' >> '~|'ÂÝÝ'6 0100  à ¨ >> X¢H¢P¢¢£ 2001:12:22 >>19:08:372001:12:22 19:08:37 >> >>? @ < ÿÿèà.........etc etc etc (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/ > > >------------------------------------------------------------- >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/------------------------------------------- http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656------------------------------------------------------------- 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/ Dan Strong

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:

final on include (1997) Searching multiple Databases (1997) Announce: WebMerchant 3.0 for Mac shipping now (1998) authenticate and password (1998) Pithy questions on webcommerce & siteedit (1997) WebCat2: Items xx to xx shown, etc. (1997) [WebDNA] topbanner.inc code (2011) StoreBuilder Q's (2003) [format 40s]text[/format] doesn't work (1997) Possible Bug in 2.0b15.acgi (1997) Re:Password Authentication - request example (1998) Thanks Grant (1997) HomePage Caution (1997) proper way to check if a container is empty? (2000) Re2: frames & carts (1997) Re:Emailer tracking (1997) Webcatalog and foreign languages (1998) taxtotal question (2002) AutoCommit Preference? (1998) ShowIf inside formulas (1997)