Re: corrupted jpgs

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50004
interpreted = N
texte = We were doing some dev work on Mac OS X and ran across this issue with microsoft.http://support.microsoft.com/default.aspx?scid=kb;en-us;269802Not sure if this applys, but the way we fixed it was to use ImageMagick to strip uploaded JPGs of all erronous data. ----- Original Message ----- From: kmac To: WebDNA Talk Sent: Monday, May 05, 2003 1:20 PM Subject: Re: corrupted jpgs > Do I assume nobody has experienced this weirdness? > > > On Monday, May 5, 2003, at 11:18 am, kmac wrote: > > > Hi folks, since converting our workstations to OS X our users can no > > longer open jpg files that have been uploaded through our web form. > > They can be opened on OS 9 workstations and Windows machines, but when > > I try to open them in OS X I get an error: > > > > Could not open file blah.jpg because a jpeg marker segment length > > is too short. (the file may be truncated or incomplete). > > > > Any ideas would be helpful. > > TIA > > Ken M > > > > Server is OS 9 > > webstar 4.3 > > webDNA 4.02b7 > > > > Code used. > > [text]line_ending=%0D[/text] > > [sendmail > > to=classified@leaderpost.com&cc=scanning@leaderpost.com&from=webform@le > > aderpost.com&Reply-To=[email]&subject=Classified AD ref# > > [sku]&Content-Type=multipart/mixed;boundary=1234abcd&MIME- > > version=1.0][!] > > [/!]--1234abcd[unurl][line_ending][/unurl][!] > > [/!]Content-Type: text/plain[unurl][line_ending][/unurl][!] > > [/!]Content-transfer-encoding: 7bit[unurl][line_ending][/unurl][!] > > [/!] > > > > Stuff... > > > > --1234abcd[unurl][line_ending][/unurl][!] > > [/!]Content-Type: image/jpeg; > > name=[TargetPathNameExt][unurl][line_ending][/unurl][!] > > [/!]Content-Transfer-Encoding: base64[unurl][line_ending][/unurl][!] > > [/!]Content-Disposition: attachment; > > filename=[TargetPathNameExt][unurl][line_ending][/unurl][!] > > [/!] > > [encrypt > > method=base64&file=uploads/[TargetPathNameExt]&EMAILFORMAT=T][/> encrypt] > > > > > > ------------------------------------------------------------- > > 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/ > > > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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:

    
  1. Re: corrupted jpgs (WebCat @ Inkblot Media 2003)
  2. Re: corrupted jpgs (ken.macmurchy 2003)
  3. Re: corrupted jpgs (WebCat @ Inkblot Media 2003)
  4. Re: corrupted jpgs (Glenn Busbin 2003)
  5. Re: corrupted jpgs (Ken MacMurchy 2003)
  6. Re: corrupted jpgs (Glenn Busbin 2003)
  7. Re: corrupted jpgs (kmac 2003)
  8. Re: corrupted jpgs (kmac 2003)
  9. Re: corrupted jpgs (WebCat @ Inkblot Media 2003)
  10. Re: corrupted jpgs (kmac 2003)
  11. corrupted jpgs (kmac 2003)
We were doing some dev work on Mac OS X and ran across this issue with microsoft.http://support.microsoft.com/default.aspx?scid=kb;en-us;269802Not sure if this applys, but the way we fixed it was to use ImageMagick to strip uploaded JPGs of all erronous data. ----- Original Message ----- From: kmac To: WebDNA Talk Sent: Monday, May 05, 2003 1:20 PM Subject: Re: corrupted jpgs > Do I assume nobody has experienced this weirdness? > > > On Monday, May 5, 2003, at 11:18 am, kmac wrote: > > > Hi folks, since converting our workstations to OS X our users can no > > longer open jpg files that have been uploaded through our web form. > > They can be opened on OS 9 workstations and Windows machines, but when > > I try to open them in OS X I get an error: > > > > Could not open file blah.jpg because a jpeg marker segment length > > is too short. (the file may be truncated or incomplete). > > > > Any ideas would be helpful. > > TIA > > Ken M > > > > Server is OS 9 > > webstar 4.3 > > webDNA 4.02b7 > > > > Code used. > > [text]line_ending=%0D[/text] > > [sendmail > > to=classified@leaderpost.com&cc=scanning@leaderpost.com&from=webform@le > > aderpost.com&Reply-To=[email]&subject=Classified AD ref# > > [sku]&Content-Type=multipart/mixed;boundary=1234abcd&MIME- > > version=1.0][!] > > [/!]--1234abcd[unurl][line_ending][/unurl][!] > > [/!]Content-Type: text/plain[unurl][line_ending][/unurl][!] > > [/!]Content-transfer-encoding: 7bit[unurl][line_ending][/unurl][!] > > [/!] > > > > Stuff... > > > > --1234abcd[unurl][line_ending][/unurl][!] > > [/!]Content-Type: image/jpeg; > > name=[TargetPathNameExt][unurl][line_ending][/unurl][!] > > [/!]Content-Transfer-Encoding: base64[unurl][line_ending][/unurl][!] > > [/!]Content-Disposition: attachment; > > filename=[TargetPathNameExt][unurl][line_ending][/unurl][!] > > [/!] > > [encrypt > > method=base64&file=uploads/[TargetPathNameExt]&EMAILFORMAT=T][/> encrypt] > > > > > > ------------------------------------------------------------- > > 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/ > > > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ WebCat @ Inkblot Media

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:

Searching multiple databases (1998) Bug? (1997) Help formatting search results w/ table (1997) WCS Newbie question (1997) WebCat2b12 CGI Mac - [shownext] problem (1997) Displaying photo attached to first record (1997) WebDNA module - Automated database archiving (1997) [BoldWords] WebCat.acgib15Mac (1997) Here's how to kill a Butler Database. (1997) [Applescript] (2000) requiring form fields? (2000) Error Log.db --however (1997) OT - help.. (2003) grep for search, not replace (2002) Hiding usernames and passwords in URL (1998) blank fields (1999) WC 2.0 frames feature (1997) OK, here goes... (1997) Beginning Documentation (2002) Sorting (1998)