Re: [OT] Dedicated Image Uploader/Server [/OT]

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50648
interpreted = N
texte = Robert,On Thursday, May 22, 2003, at 09:29 AM, Robert Wade wrote:> Hello, sorry for the OT. I have a members site that gets a reasonable > amount of traffic running WebCat4 on WebStar.Same here.> Members of the site have personal photo galleries that they can > manage, including the uploading of gif and jpg images. I'm using the > standard WebCatalog File upload scheme for them to upload photos. As > you know you can't determine much about the file they are uploading, > until it gets to the server (including size).You can determine size after it is uploaded and resize (or delete) images then.> As this site grows this is creating problems. People are disregarding > the size restrictions and attempting to upload really large files, > causing the server to crash. It's happening about 5 to 10 times > daily.Is the server really crashing due to the upload? Can you duplicate this? Or is the crash maybe due to something happening after the upload is completed?> I'm looking for another solution for file upload. Something that > would run on a dedicated box. Something that would handle the upload > in a nice manner as well as serve the images.The only issue with this is that you would need (I imagine) to somehow tie the images to their name/profile.> This way, if there is a crash, it just brings down this images server > temporarily, and not the whole server, which is running several other > sites as well that are being effected by this.You could also use something like php to handle the upload and place the images in a specific place, then have a webcat trigger read that folder later for further processing.> Does anyone have any hardware/software combo's they might recommend, > or other ideas. This site, is mainly a hobby for me and not much of a > money maker, so I can't afford to get too carried away.I upload pics using webcat, then run a script to call ImageMagick to determine proper file format and size. If the image is of an invalid (non-allowed) format the user is presented with an error screen and the file is deleted. For the others, the image, if the dimensions are too big (my determination) then I use ImageMagick to resize the image. Then the image is moved to the appropriate directory.> Thanks in advance!! > > -Robert Dale ------------------------------------------------------------- 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: [OT] Dedicated Image Uploader/Server [/OT] (Dale's Stuff 2003)
  2. Re: [OT] Dedicated Image Uploader/Server [/OT] (Kenneth Grome 2003)
  3. Re: [OT] Dedicated Image Uploader/Server [/OT] (Robert Wade 2003)
  4. Re: [OT] Dedicated Image Uploader/Server [/OT] (andy mowrey 2003)
  5. Re: [OT] Dedicated Image Uploader/Server [/OT] (Dave Hurley 2003)
  6. Re: [OT] Dedicated Image Uploader/Server [/OT] (Robert Wade 2003)
  7. Re: [OT] Dedicated Image Uploader/Server [/OT] (Clint Davis 2003)
  8. Re: [OT] Dedicated Image Uploader/Server [/OT] (Kenneth Grome 2003)
  9. Re: [OT] Dedicated Image Uploader/Server [/OT] (Dave Hurley 2003)
  10. Re: [OT] Dedicated Image Uploader/Server [/OT] (dbrooke 2003)
  11. [OT] Dedicated Image Uploader/Server [/OT] (Robert Wade 2003)
Robert,On Thursday, May 22, 2003, at 09:29 AM, Robert Wade wrote:> Hello, sorry for the OT. I have a members site that gets a reasonable > amount of traffic running WebCat4 on WebStar.Same here.> Members of the site have personal photo galleries that they can > manage, including the uploading of gif and jpg images. I'm using the > standard WebCatalog File upload scheme for them to upload photos. As > you know you can't determine much about the file they are uploading, > until it gets to the server (including size).You can determine size after it is uploaded and resize (or delete) images then.> As this site grows this is creating problems. People are disregarding > the size restrictions and attempting to upload really large files, > causing the server to crash. It's happening about 5 to 10 times > daily.Is the server really crashing due to the upload? Can you duplicate this? Or is the crash maybe due to something happening after the upload is completed?> I'm looking for another solution for file upload. Something that > would run on a dedicated box. Something that would handle the upload > in a nice manner as well as serve the images.The only issue with this is that you would need (I imagine) to somehow tie the images to their name/profile.> This way, if there is a crash, it just brings down this images server > temporarily, and not the whole server, which is running several other > sites as well that are being effected by this.You could also use something like php to handle the upload and place the images in a specific place, then have a webcat trigger read that folder later for further processing.> Does anyone have any hardware/software combo's they might recommend, > or other ideas. This site, is mainly a hobby for me and not much of a > money maker, so I can't afford to get too carried away.I upload pics using webcat, then run a script to call ImageMagick to determine proper file format and size. If the image is of an invalid (non-allowed) format the user is presented with an error screen and the file is deleted. For the others, the image, if the dimensions are too big (my determination) then I use ImageMagick to resize the image. Then the image is moved to the appropriate directory.> Thanks in advance!! > > -Robert Dale ------------------------------------------------------------- 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/ Dale's Stuff

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:

Re:trouble (1997) PCS Frames (1997) F3 crashing server (1997) New Guestbook Source (1997) SetHeader (1997) Need relative path explanation (1997) Max Record length restated as maybe bug (1997) TeaRoom Order fields email account remain empty even though thewy are filled. (1997) server2003 issue (OT) (2006) Where is f2? (1997) error: Too many nested [xxx] contexts (1997) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997) Grep is Broke (2004) 2 databases (1997) [OT] DOD again (2003) webcat- multiple selection in input field (1997) Emailer setup (1997) New Command prefs ... (1997) [WebDNA] New Licenses (2009) Only charge card when product shipped ? (1997)