WinSCP password includes alias character

Advertisement

zzahierarba
Guest

WinSCP password includes alias character

Hi,

I have a question, refer to the code snippet below which runs on python,

process = subprocess.Popen(
    [r'path\WinSCP.com', '/ini=nul', '/command',
     'open ftp://user:password@host', 'get something.txt', 'exit'],
    stdout=subprocess.PIPE, stderr=subprocess.PIPE)
for line in iter(process.stdout.readline, b''):  
    print(line.decode().rstrip())
Can I know if it will work if the password has alias character inside? for example: banana@72

Let's say if it doesn't work, how should I approach for this kind of password?

I tried to include the password as mentioned but seems like it failed to connect and proceed to timeout.

Hope to get some help here.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum