The @ sign in password and scripting

Advertisement

Fredrik
Joined:
Posts:
2
Location:
Gothenburg, Sweden

The @ sign in password and scripting

Hi!
My customer transfers files using WinSCP 3.7.6 to one supplier. Now my customer has gotten a new user-ID which includes a @-sign (s-MY-CUST@supplier.com).
The file transfer is run by a batch job from the ERP system => we use a script for a SHELL command.
The @-sign messes up the connection!
The log file states:
//
Host does not exist
No session
//
The script is:
'open '+ UserID + ':' + PassWord + '@' + SupplierFTPserver

Shell: "DOS Shell"(ENVIRON('COMSPEC') +' /C '+ BATname,7, TRUE);

Any input/help would be great,
Thanx,

Fredrik

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum