Ftp Questions

angkor

Member
Joined
Oct 20, 2011
Messages
4
Location
San Jose
We setup a ftp server in Windows 2008 R2 using IIS. The Server is a domain controller. We like to use a domain user to make ftp connection but we prefer not hard code password. How can we archive it?


Thx
Angor
 
The only thing you can do is to write the password in a text file and then read it from your program / script.

I'm not really sure I understood right...
 
Here you are:

Code:
> script.ftp ECHO USER MyUserId
>>script.ftp ECHO MYpassword
FTP -v -s:script.ftp ftp.yourHost.com
TYPE NUL >script.ftp
DEL script.ftp
 
Back
Top