Re: Client to telnet into server and then ftp to another server
- From: Chris <spam_me_not@xxxxxxxxxx>
- Date: Tue, 08 Aug 2006 21:24:37 -0500
Marlo wrote:
HiI haven't done this, but it should theoretically be possible. I'd start with a telnet client and see if you can feed it text strings and get responses just as if you were sitting at a telnet terminal. Once you get that working, just use a command line ftp client on the telnet server. Download files to the telnet server, and then to the client from there. Streaming it in one go might be trickier.
I am trying to write a java client that connects to a ftp server.
The trick is that the ftp server has a private IP and is sitting
behind a Telnet server with a public IP address.
How can I go about implementing this client? [I already have the ftp
client working.].
The idea is first to connect via telnet, then connect to the ftp server
and then download/upload files.
Can I use TelnetInputStream or what other sugesstions do you have?
Thanks,
Marlo
.
- References:
- Prev by Date: Trying to get attention to a component
- Next by Date: measuring signal from microphone
- Previous by thread: Client to telnet into server and then ftp to another server
- Next by thread: Re: Client to telnet into server and then ftp to another server
- Index(es):
Relevant Pages
|