my dog learned polymorphism*
The moose likes Linux / UNIX and the fly likes File transfer using telnet Connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "File transfer using telnet Connection" Watch "File transfer using telnet Connection" New topic

File transfer using telnet Connection

epooagg Aggarwal

Joined: Sep 13, 2011
Posts: 3
Hi, I am trying to transfer file from remote machine to a local linux machine using telnet connection.
Is there any way to transfer file using telnet connection?
Richard Tookey
Ranch Hand

Joined: Aug 27, 2012
Posts: 1035

I have never tried to do a file transfer over Telnet and I'm not sure it is possible but since Telnet is insecure I would never even consider using it. In fact I wold never consider using Telnet ever for anything.

If your remote machine is running OpenSSH then you can securely copy files using either 'scp' or 'sftp' .
I agree. Here's the link:
subject: File transfer using telnet Connection
Similar Threads
Deploy JAR file to UNIX Server
To validate telnet connectivity in java code
tomcat not contact another server ip address
ftp and telenet
Access unix machine to read and save a file