Posted October 21, 201113 yr 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
October 21, 201113 yr 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... -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
October 21, 201113 yr Hi, do you have a command detail how I should write? maybe... but first I need to know which language are you using (batch file, vbs, vb.net, c, ...) thanks. -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
October 21, 201113 yr Here you are: > script.ftp ECHO USER MyUserId >>script.ftp ECHO MYpassword FTP -v -s:script.ftp ftp.yourHost.com TYPE NUL >script.ftp DEL script.ftp -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
October 21, 201113 yr Author Thx ICTCity! I will give it a try and let you know if I have any questions.