Topic "Usernames with forward slash (/) not supported in batch mode"

Author Message
flipman619
[View user's profile]

Joined: 2011-03-01
Posts: 8
Location: Southern California
when scripting from the commandline, usernames with a forwardslash give the following error:
"Can't Resolve Hostname"

The hostname should be interperted after the "@" not before, and it shouldn't look for a forwardslash.

command being used:
"open ftp://user/name:password@host"

Is there anyway to work around this?

Thanks,
Julius
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Please read FAQ:
https://winscp.net/eng/docs/session_url#special
_________________
Martin Prikryl
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