Page 1 of 1

Upload Started -> Upload Failed

Posted: Thu Oct 28, 2010 3:38 pm
by VideoScience
cPanel Linux server using the following FTP code:

Code: Select all

document.write('<EMBED ');
document.write('type="application/x-java-applet;version=1.4" ');
document.write('CODE="jfileupload.upload.client.MApplet.class" ');
document.write('JAVA_CODEBASE="./" ');
document.write('ARCHIVE="lib/jfileupload.jar,lib/ftpimpl.jar,lib/cnet.jar,lib/clogging.jar" ');
document.write('NAME="fileupload" ');
document.write('WIDTH="250" ');
document.write('HEIGHT="250" ');
document.write('url="ftp://myserver.com" ');
document.write('param1="username" ');
document.write('value1="myusername" ');
document.write('param2="password" ');
document.write('value2="mypassword" ');
document.write('param3="pasv" ');
document.write('value3="false" ');  
document.write('param4="account" ');
document.write('value4="httpdocs" '); // public directory is httpdocs  
document.write('mode="ftp" ');
document.write('scriptable=true ');
document.writeln('pluginspage="http://java.sun.com/products/plugin/index.html#download"><NOEMBED>');
Getting the following message:

Code: Select all

Upload started. Uploaded failed. Transfer failed.
I've also tried the applet_http_php.html server-side upload and get the following message:

Code: Select all

Upload started ...Upload failed : org.apache.commons.httpclient.NoHttpResponseException: The server upload.videoscience.com failed to respond
Any help is appreciated.

Re: Upload Started -> Upload Failed

Posted: Fri Oct 29, 2010 9:03 pm
by support
There might be a problem somewhere else in the JavaScript because the error is about HTTP upload and you're using FTP upload. Did you update all parameters twice for FTP support? Do you see the 2 sections for cross-browsers support?