Richard Waldicott

Greenhorn
+ Follow
since Jun 10, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Richard Waldicott

if you have to use sftp/ssh you might look at the following component

http://www.jscape.com/sftp/
Wow, your boss is a tough customer. FTP protocol can get complicated, especially in dealing with passive connections and parsing directory listings, not to mention the additional things you need to do if you want to support FTPS (FTP over SSL). If you can, I would try and convince your boss to go with an existing API that has solved these problems.

you might look at the following.

http://www.jscape.com/sftp/
are you trying to execute the process directly? not sure if there is a permissions issue for why you may not be able to do this. may wish to try an API instead.

http://www.jscape.com/sshfactory/
15 years ago
JSP
try secure ftp factory. supports ftp, ftps, sftp and scp protocols.

http://www.jscape.com/sftp/
another option is to have this lookup table bound to the MAC address of client machine. You can get this information, but only starting with JDK 1.6
15 years ago
from the error message looks like the process may not have permissions to bind to a local socket. try using passive mode instead. another good component can be found here

http://www.jscape.com/sftp/
even though leech may allow you to specify a directory, it still must follow the ftp protocol. in other words, you can't set the directory until after you login. leech is just doing this for you.
15 years ago
"Connection refused" indicates that a socket connection could not even be established. This sounds like a possible firewall or routing issue. Try connecting manually from the UNIX box from the shell using the following command

telnet hostname 443

this assumes that 443 is the port your HTTPS is running on. If you can't establish a connection then there is something going on with our firewall, or the hostname just can't be accessed from the UNIX box. Also try a ping.

e.g.

ping hostname