Simple question for the DOS command elite!
I'm trying to create an FTP batch file where my username is my 'domain\username'. The problem is that the "\" is causing problems.
What do I need to do in order to make the login process successful?
Example:
FTP_HOST = "172.nn.nn.nn"
FTP_USER = "domain\username"
FTP_PASS = "password"
Thanks,
Randy
FTP Batch File
Moderator: DosItHelp
Re: FTP Batch File
Does that username work when you log in manually?
What error do you get? A slash isn't a poison character.
What error do you get? A slash isn't a poison character.
Re: FTP Batch File
I am able to log into it manually, yes.
The error that i receive is: "331 Password required for domainusername.
I assumed that it was the "\" since it stripped it out when displaying the error message.
The error that i receive is: "331 Password required for domainusername.
I assumed that it was the "\" since it stripped it out when displaying the error message.
Re: FTP Batch File
You can try: FTP_USER = "username@domain"
Re: FTP Batch File
rholn wrote:I am able to log into it manually, yes.
The error that i receive is: "331 Password required for domainusername.
I assumed that it was the "\" since it stripped it out when displaying the error message.
A slash might be an illegal character in a username, not a batch issue.
The FTP server you logged into manually might have less rigorous error checking.
Re: FTP Batch File
newklear wrote:You can try: FTP_USER = "username@domain"
That wound up working.
Thank you both for your time and efforts in helping me.
Randy