flash choking on larger uploads?

  • susancbk
  • Proficient
  • Proficient
  • No Avatar
  • Joined: Nov 13, 2004
  • Posts: 293
  • Loc: New York City
  • Status: Offline

Post September 28th, 2007, 6:22 pm

I built an uploader which works fine on decently sized files.

When I upload say a 2mb picture however, everything appears to be working fine - all the progress indicators, on completes operate as usual.... but then the file never shows up on the server?

I realize this is pretty vague, lacking code examples, but I just wanted to kind of put a general question out there, see if anyone suspects anything right off the bat..

ie, is it maybe something more wrong with my server?
flash dosent have some upload limit i dont know about?
?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post September 28th, 2007, 6:22 pm

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post October 1st, 2007, 12:21 am

well, both can be possible.
Your server may limit the file uploads to a certain size. If you have an apache server + php, then check out config php for uploads
As for flash, i don't know if it has a limit set to 2mb
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”
  • twalters84
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Sep 27, 2007
  • Posts: 161
  • Loc: Mount Savage, MD
  • Status: Offline

Post October 1st, 2007, 12:32 am

Hey there,

Your upload might be timing out.

I would check your upload script. If it is working for smaller photos, it should work for larger ones. The only reason I can think of that it would not is the time out issue.

With coldfusion, I have to do something like this:

<cfsetting requestTimeOut = "30000">

There is probably something similar for other languages.

Hope this helps.

Sincerely,
Travis Walters
admin@codebuyers.com
  • susancbk
  • Proficient
  • Proficient
  • No Avatar
  • Joined: Nov 13, 2004
  • Posts: 293
  • Loc: New York City
  • Status: Offline

Post October 10th, 2007, 6:16 pm

Thanks for the replies.

IceCold - looked into what you said and sure enough my php server had an upload limit of 2M.
  • darsh999
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Aug 11, 2007
  • Posts: 8
  • Status: Offline

Post October 12th, 2007, 12:51 pm

I think this problem is occurring because your upload might be timing out.

I will now see your upload script. If it is working for smaller photos, it should work for larger ones. The only reason I can think of that it would not be a big issue..

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 31 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.