Upload timeout

Upload core product.
Post Reply
luctuf
Posts: 11
Joined: Wed Apr 07, 2010 11:16 am

Upload timeout

Post by luctuf »

Hi to all!
i'm try to set up the applet without success :(
this is my configuration:

SERVER A - with my website and with the applet code
SERVER B - my ftp server

I see the applet on my website but upload fails:
Uploading : snoopy.jpg
(25.915 bytes)
Upload started ...Upload failed : java.net.ConnectException: Connection timed out: connect

My Ftp server is behind a firewall but I created a port forwording rule to its port 21. I can reach it from any browser by typing:

ftp://SERVER-B-IPaddress:myPort

then i setup the ftp applet with this parameters:
document.writeln('<PARAM NAME="url" VALUE="ftp://SERVER-B-IPaddress:myPort">');
document.writeln('<PARAM NAME="param1" VALUE="pasv">');
document.writeln('<PARAM NAME="value1" VALUE="true">');
document.writeln('<PARAM NAME="param2" VALUE="username">');
document.writeln('<PARAM NAME="value2" VALUE="myusername">');
document.writeln('<PARAM NAME="param3" VALUE="password">');
document.writeln('<PARAM NAME="value3" VALUE="mypassword">');
document.writeln('<PARAM NAME="mode" VALUE="ftp">');

What am I doing wrong?
thanks in advance! :)

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

Re: Upload timeout

Post by support »

Do you have port 20 opened too?

Post Reply