commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject [NET] port forwarding retrieve and store file help!!
Date Thu, 10 Jul 2003 09:21:57 GMT

I try to do a port forwarding using ssh client (putty) and the commonsnet jarkarta API in
order to do a secure FTP transfert.
My problem is I cannot  "store" or "retreive" a file, what is the way to do this kind of transfert?

Concerning the port forwarding my configuration is the following:
I set a local port on my FTP client , eg.10009 and it corresponds to the port 21 of my remote
machine (the server).

The error I have got is:
220 JFDF FTP Tests Server
Connected to me.
USER JFDFTests-srv1
331 Password required for JFDFTests-srv1.
PASS xxxx
230 User JFDFTests-srv1 logged in.
215 UNIX Type: L8
Remote system is UNIX Type: L8
227 Entering Passive Mode (199,0,0,64,84,79).
PORT 199,0,0,57,8,34
200 Port command successful.
STOR sshftptest.txt
150 Opening data connection for sshftptest.txt. Host attempting data connection is not same as server
	at commonnetssh.FtpSSHClient.main(

Thanks for help

Faites un voeu et puis Voila ! 

View raw message