Jump to content

Recommended Posts

Posted

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

Posted

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.

--------------------------------------------------------

Posted

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.

--------------------------------------------------------

Posted

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.

--------------------------------------------------------

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...