Upload finish and then it auto restarts

Upload core product.
Post Reply
jackmick777
Posts: 3
Joined: Tue Sep 28, 2010 8:02 am

Upload finish and then it auto restarts

Post by jackmick777 »

I'm using proFTPD to uploadvideo and audio files with your applet Jfileupload. File sizes are anywhere from 50 to 500 megs. I'm having constant issues with the upload finishing and then it auto restarts, erased the completed file to nothing and starts the transfer again... and sometimes upload stop at 100% and not execute foward action. BUT it works always from France FAI, but users in Canada using FAI "videotron" it not work. Did you have any idea ?

Here log applet when it does not work with the canada FAI called "videotron" :

< 220 ProFTPD 1.3.1 Server (Debian) [91.121.82.214]
> USER ministry
< 331 Password required for ministry
> PASS *****
< 230 User ministry logged in
> CWD /VIDEO/z_tmp_1_ftp/
< 250 CWD command successful
Envoi en cours : spotfem10mp4_512K5.flv
(4 455 113 bytes)
Envoi de votre fichier en cours ...> TYPE I
< 200 Type set to I
> SYST
< 215 UNIX Type: L8
> PASV
< 227 Entering Passive Mode (91,121,82,214,254,177).
> LIST -spotfem10mp4_512K5-8630.flv
< 150 Opening ASCII mode data connection for file list
< 450 _512K5-8630.flv: No such file or directory
> PASV
< 227 Entering Passive Mode (91,121,82,214,200,230).
> STOR -spotfem10mp4_512K5-8630.flv
< 150 Opening BINARY mode data connection for -spotfem10mp4_512K5-8630.flv
----

The line : < 226 Transfer complete never appear

(sorry for my english i'm french)

Is anybody can help me ?

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Upload finish and then it auto restarts

Post by support »

Are you using any "retry" parameter in your JavaScript?

jackmick777
Posts: 3
Joined: Tue Sep 28, 2010 8:02 am

Re: Upload finish and then it auto restarts

Post by jackmick777 »

Yes,

document.writeln('<PARAM NAME="retrydelay" VALUE="15">');
document.writeln('<PARAM NAME="retry" VALUE="40">');

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Upload finish and then it auto restarts

Post by support »

I think upload fail that's why it restarts. Just try to remove "retry" parameter to see if i'm correct.

jackmick777
Posts: 3
Joined: Tue Sep 28, 2010 8:02 am

Re: Upload finish and then it auto restarts

Post by jackmick777 »

I change information on my servor (increase timeout) and rety value on client applet jfileupload and now it's running, upload never restart anymore.

document.writeln('<PARAM NAME="retrydelay" VALUE="120">');
document.writeln('<PARAM NAME="retry" VALUE="40">');

but sometimes upload stop à 100% and nothing append, there is no redirection after upload, upload stop at 100%.

This problem appear not at all times, only sometimes.

Could you help me to fix this bug ?

thanks

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Upload finish and then it auto restarts

Post by support »

Make a search on "commandmonitor" in this forum. You might face to command channel timeout issue. If your FTP server supports period NOOP commands while uploading then you could workaround this issue.

Post Reply