resume not working in ftp upload

Upload core product.
Post Reply
arundas
Posts: 1
Joined: Thu Jan 03, 2013 12:21 pm

resume not working in ftp upload

Post by arundas »

I have used the following settings for ftp upload, but the file upload is stopped when internet connection is lost . It failed to resume upload after getting internet connection.

document.writeln('<PARAM NAME=CODE VALUE="jfileupload.upload.client.MApplet.class">');
document.writeln('<PARAM NAME=CODEBASE VALUE="./">');
document.writeln('<PARAM NAME=ARCHIVE VALUE="lib/jfileupload.jar,lib/ftpimpl.jar,lib/cnet.jar,lib/clogging.jar">');
document.writeln('<PARAM NAME=NAME VALUE="fileupload">');
document.writeln('<PARAM NAME="type" VALUE="application/x-java-applet;version=1.6">');
document.writeln('<PARAM NAME="scriptable" VALUE="true">');
document.writeln('<PARAM NAME="url" VALUE="' + url + '">');
document.writeln('<PARAM NAME="param1" VALUE="username">');
document.writeln('<PARAM NAME="value1" VALUE="' + username + '">');
document.writeln('<PARAM NAME="param2" VALUE="password">');
document.writeln('<PARAM NAME="value2" VALUE="' + password + '">');
document.writeln('<PARAM NAME="param3" VALUE="pasv">');
document.writeln('<PARAM NAME="value3" VALUE="true">');
document.write('<PARAM NAME="param4" VALUE="account">');
document.write('<PARAM NAME="value4" VALUE="' + uploadfolder + '">');
document.writeln('<PARAM NAME="mode" VALUE="ftp">');
document.writeln('<PARAM NAME="post" VALUE="javascript:alert("Thanks for the upload");">');
document.writeln('<PARAM NAME="post" VALUE="' + post + '">');
document.writeln('<PARAM NAME="postparameters" VALUE="extra">');
document.writeln('<PARAM NAME="maxsize" VALUE="8589934592">');
document.writeln('<PARAM NAME="resume" VALUE="true">');
document.writeln('<PARAM NAME="template" VALUE=":timestamp::extension:">');
document.writeln('<PARAM NAME="param5" VALUE="resumecommand">');
document.writeln('<PARAM NAME="value5" VALUE="append">');
document.writeln('<PARAM NAME="retry" VALUE="5">');
document.writeln('<PARAM NAME="param6" VALUE="ftpsession">');
document.writeln('<PARAM NAME="value6" VALUE="true">');
document.writeln('<PARAM NAME="concurrency" VALUE="1">');

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

Re: resume not working in ftp upload

Post by support »

You parameters seems correct, the one that is required it:
<PARAM NAME="retry" VALUE="5">

Do you have the same issue if you stop/start IIS FTP server while uploaing?

Post Reply