Saturday, 24 August 2013

Connecting to my FTP Servers and Automating my Authentication

Connecting to my FTP Servers and Automating my Authentication

I recently started experimenting in Javascript and decided to begin
building a combination of FTP Client and Servers with their own Unique
options and I've been held up coming up with a instruction for Automating
the login for each of my servers.
I've connected to each one and have been able to download files etc. using.:
// URL url = new
URL("ftp://user:password@server.web:21//MyFiles//Test.txt");
My question is I'm trying to be able to specify my User/Pass from a input
text file that will hold all my different User Credentials for faster
processing between my different Servers running.
Is there a way to achieve this in Java or is it a option strictly for
using in command prompt?

No comments:

Post a Comment