ftp script problem when using AD account

M

M6292

Hello,

I have a problem.

I created a DOS script that ftp files to a Windows 2003 server (using
IIS ftp).

My script works fine when I used a ftp local account. Now, I have to
use an AD account. I changed my script to use the AD acount
(domain\login) instead of the local account. Since them, I have a
message "Login Failed" when I launch the script.

I have no problem to log from the DOS prompt using the AD account
(domain\login) but not from the script.

Any Ideas?

Thank you.
 
P

Pegasus \(MVP\)

M6292 said:
Hello,

I have a problem.

I created a DOS script that ftp files to a Windows 2003 server (using
IIS ftp).

My script works fine when I used a ftp local account. Now, I have to
use an AD account. I changed my script to use the AD acount
(domain\login) instead of the local account. Since them, I have a
message "Login Failed" when I launch the script.

I have no problem to log from the DOS prompt using the AD account
(domain\login) but not from the script.

Any Ideas?

Thank you.

What does your script look like?

By the way, DOS is an operating system, same as Linux or Windows.
There is no DOS under Win2000 - you probably mean the Command
Prompt.
 
E

Enkidu

M6292 said:
Hello,

I have a problem.

I created a DOS script that ftp files to a Windows 2003 server (using
IIS ftp).

My script works fine when I used a ftp local account. Now, I have to
use an AD account. I changed my script to use the AD acount
(domain\login) instead of the local account. Since them, I have a
message "Login Failed" when I launch the script.

I have no problem to log from the DOS prompt using the AD account
(domain\login) but not from the script.
It is possible that the FTP account has not been changed to accept
Windows Authentication. Check with the FTP server administrator. Are you
on the same network as the FTP server? Another thing - I don't believe
that FTP will accept "domain/login". Just try the "login" by itself.

Cheers,

Cliff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top