Skip to main content

Automating Logon using Java

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
dannydream
Offline
Joined: 2013-08-28

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){

Is there a way to specify my Username/Password from a input text file?