you need to escape the \ character with a \

Send=USER wcpadmz\\dmzlogin\r\n


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 14, 2002 12:45 PM
Subject: [WhatsUp Forum] Custom service problem


> Simple problem.  In a custom TCP/IP service I need to monitor an FTP
> server.  Works fine until I need to include a \ in the user name.  It then
> sends another character for the \ and the next character.  For example I
> need to send the following:
>
> Expect=220
> Send=USER wcpadmz\dmzlogin\r\n
> Expect=331
> Send=PASS password\r\n
> Expect=230
> Send=QUIT\r\n
>
> The string wcpadmz\dmzlogin becomes wcpadmz~mzlogin.  Is there a way to
put
> quotes around or whatever?  Thanks,
> George
>
>
>
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
>


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/

Reply via email to