Topic "Can logon via GUI but not cmd line due to "@" on username"

Author Message
[View user's profile]

Joined: 2015-01-22
Posts: 2
Location: Melbourne
I am trying to create a batch file to transfer files between my company and an external host. This batch file will run as a scheduled task on a Windows 2008 server.

My external contact has provided me with the details, which is similar to below

Password: abc123

Using the GUI, I can logon fine

However, If I try to logon from using this command
open s
I receive a prompt to add the username and password, which gives me an access denied message/

I am suspecting that this is because of the @ sign on the user name. If this is the case, could you please advise how I can push this through via a command line?

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24755
Location: Prague, Czechia
It's actually the slash, not the at sign. But it's better to URL-encode both.
Martin Prikryl
[View user's profile]

Joined: 2015-01-22
Posts: 2
Location: Melbourne
Thank you Martin, I replaced the special characters as advised and it worked.

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License