aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Automating logon for a Client/Server:: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Automating logon for a Client/Server::" Watch "Automating logon for a Client/Server::" New topic
Author

Automating logon for a Client/Server::

gregg jefferies
Greenhorn

Joined: Aug 28, 2013
Posts: 1
I've been working on this Java Client that can all together perform different tasks on my Server and decided to begin building a
FTP Client for Automating the login for each time I Logon.
Here's part of my code for this Function:

public class LoginService{
public boolean loginservice(String username, String password){
String query;
String dbUsername, dbPassword;
boolean login = false;

Is there a way to specify my Username/Password from a input text file, That way if I've made 10 or 20 servers I can Logon, succesfully no matter which Server I'm working on?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Automating logon for a Client/Server::