Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Network program

  Asked By: Darla    Date: Jul 01    Category: Java    Views: 520

I'm currently writing a program which transfers files over a network.
The one person sharing the files run a server and the one who wants
to get connect using a application. Now the client also connects via
Telnet to say what he wants and to see what is available. The server
automaticly uses the telnet input to send the file to the
application. Now i have the following problems:

The user has to enter a password. Now how do i get it that telnet
does not echo the input the user gives?

I know how to list files using the File class but how do i change the
current directory. If its to another sub directory (cd uploadz) or to
the base directory (cd..)?

Further i think a have everything under control



1 Answer Found

Answer #1    Answered By: Jonathan Harrison     Answered On: Jul 01

You cant. It completally depends on the telnet  program.
Telnet is an unsecure protocal any crackers with more than
2 brain cells (of which script kiddies lack) will know how
to get a password  from a telnet sessions.

Didn't find what you were looking for? Find more on Network program Or get search suggestion and latest updates.