Page 1 of 2

Upload from Flash Client

Posted: Thu Jun 03, 2010 6:42 pm
by mnielson
I am not able to upload using the flash client, after a few seconds a popup appears saying Exception occurred when uploading file. I've noticed that when I let the page keep uploading and don't click on the ok button that the file eventually uploads but the progress bar stops moving so I can't tell when the upload completes. This happens on Firefox, IE, and Safari both on a Mac and on Windows.

Re: Upload from Flash Client

Posted: Fri Jun 04, 2010 6:22 am
by FTP
Could you test uploading on our demo server?
http://wftpserver.com/onlinedemo.htm

Re: Upload from Flash Client

Posted: Fri Jun 04, 2010 3:58 pm
by mnielson
The upload to the demo site worked just fine for me. I also downloaded and installed the latest version of Wing FTP for Linux.

Re: Upload from Flash Client

Posted: Fri Jun 04, 2010 5:08 pm
by FTP
Our demo server is Linux too, but why didn't it work on your server? I think its a server side issue. not web client's issue.

I suggest you install it again, then check the result.

Re: Upload from Flash Client

Posted: Sun Jun 06, 2010 12:18 am
by mnielson
I have reinstalled, but the result is the same. The error occurs after the popup explaining that an exception has occured. The upload continues normally however as long as I don't hit ok. Hitting ok causes the uploader to stop uploading. Is there something I could have configured incorrectly that would cause the upload progress ajax call to report incorrectly?

Re: Upload from Flash Client

Posted: Mon Jun 07, 2010 11:55 am
by FTP
So the file uploaded successfully at last, but with a upload error tip, right?
It sounds a bit strange, did you try the simple upload mode? (non-flash uploader)

And could you tell me what's the file name and file size? Thanks!

Re: Upload from Flash Client

Posted: Tue Jun 08, 2010 3:25 pm
by mnielson
The test file is Extremist.flv, 4.5mb
The standard uploader will work for normal sized files, it would work for the file above. Most files we upload are much larger though.
It's strange the error message (popup) shows up after the first ajax request returns with a bad status code, the flash uploader keeps uploading until I hit ok on the popup, after I hit ok the upload stops. If I just let the browser hang with the popup open the flash upload will eventually complete on it's own.

The ajax request goes to: http://upload.deaftv.com/uploadstat.htm ... 9421709861

GET /uploadstat.html?r=0.9568439421709861 HTTP/1.1
Host: upload.deaftv.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: __utma=74442119.1922693606.1271341551.1274999575.1275780294.11; client_lang=english; admin_lang=english; __utmz=74442119.1273166502.6.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); SESSfc7c62ceebf4ec7ee3fd8c1147b6eacb=1403e62d3715c99ca494bd41df5e3496; __utmc=74442119; UID=fde6920076b05d7bbed8fe9697a52e3d; viewmode=0

The response comes back:

HTTP/1.1 200 HTTP OK
Date: Tue, 08 Jun 2010 15:22:38 GMT
Server: Wing FTP Server/3.5.0(Jason Bailey)
Cache-Control: private
Content-Type: text/html
Via: 1.1 upload.deaftv.com
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 22
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive

With a body of -2

Re: Upload from Flash Client

Posted: Wed Jun 09, 2010 4:12 pm
by FTP
If you used flash uploader componet, this error tip will popup when IO error was detected.
I want to know, Did you setup a disk quota for ftp user? Did you use HTTP or HTTPS connection?

Re: Upload from Flash Client

Posted: Thu Jun 10, 2010 6:46 pm
by mnielson
This user doesn't have a disk quota and the connection is over standard HTTP. What could cause the request to sense an IO error but still complete in the background? The ajax HTTP response comes back as ok (200) with a body, is a body of -2 an expected value?

Re: Upload from Flash Client

Posted: Fri Jun 11, 2010 4:13 am
by FTP
If flash component triggers an IO error exception, I don't think it will continue uploading.
So it sounds very strange, what's the version of flash? could you update it to the latest version?

And now I have compiled an special edition of the flash uploader. Please download it and replace the old one on your server: FlexFileUpload.swf

Then tell me what's message you will see.