winscp.com /option value for ReplaceInvalidChars
Hello everyone.
First post. Trying to get my head around WinSCP. I have 2 issues and think its caused by same reason.
Issues:
So in my script I have lots of paramaters for userid file name and the folders.
It's the
The
I hope I have explained the problem well enough for some to offer guidance.
(I got
Any help would be awesome. Been on this now for a week.
Cheers all.
First post. Trying to get my head around WinSCP. I have 2 issues and think its caused by same reason.
Issues:
- issuing
lcd c:\folder1\folder2
the\
are being replaced with 2
ielcd c:folder12folder2
- When a file is downloaded it has first
-
replaced with%2
. But the second-
is left!?
iemy-name-is.txt
is downloaded asmy%2name-is.txt
ReplaceInvalidChars
option for downloads. But I cannot seem to get the option right.
So in my script I have lots of paramaters for userid file name and the folders.
It's the
lcd $local
that's not working.
$local
is c:\folder1\folder2
The
get
function downloads the file but WinSCP changes the file name.
I hope I have explained the problem well enough for some to offer guidance.
(I got
cd
around the \" cd $remote\"
by putting the folder at the end of the server name used in the $server
parameter).
Any help would be awesome. Been on this now for a week.
Cheers all.
Last edited by sanandreas69 on 2023-07-03 00:53; edited 1 time in total