Topic "The @ sign in password and scripting"

Author Message
Fredrik
[View user's profile]

Joined: 2011-03-16
Posts: 2
Location: Gothenburg, Sweden
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
Fredrik
[View user's profile]

Joined: 2011-03-16
Posts: 2
Location: Gothenburg, Sweden
Hi!
I found it!
https://winscp.net/eng/docs/session_url#special

Sorry for not looking first :oops:
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License