$transferOptions = New-Object WinSCP.TransferOptions
$transferOptions.FileMask = "| ~*"
$transferOptions.AddRawSettings("ReplaceInvalidChars", "0")
- acem77
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
$transferOptions = New-Object WinSCP.TransferOptions
$transferOptions.FileMask = "| ~*"
$transferOptions.AddRawSettings("ReplaceInvalidChars", "0")
"DefaultConfiguration : True"
PS C:\Users\19202> $session
ExecutablePath :
ExecutableProcessUserName :
ExecutableProcessPassword :
AdditionalExecutableArguments :
DefaultConfiguration : True
DisableVersionCheck : False
2F
, the hexadecimal code (in ASCII and Unicode) for the slash character
%
and numbers" cause WinSCP to interpenetrate it as /
%2f
to /
*_%2F9%5FVNE%2DJ_Index15970626.pdf
ftp upload info *_/9%5FVNE%2DJ_Index15970626.pdf
Error transferring file '\\clenas01\abc_filegroup$\fg1\FILE GROUP 95\https___pam.cws-gr.com_audits-audTrans-print.cfm_%2F9%5FVNE%2DJ_Index15970626.pdf'.
Copying files to remote side failed.
https___pam.cws-gr.com_audits-audTrans-print.cfm_/9%5FVNE%2DJ_Index15970626.pdf: No such file or folder.
Error transferring file '\\clenas01\abc_filegroup$\fg1\FILE GROUP 95\https___pam.cws-gr.com_audits-auditReport.cfm_%2F%3C%24%3A%3DHJ_Index15965236.pdf'.
Copying files to remote side failed.
Syntax error in parameters or arguments.
Error transferring file '\\clenas01\abc_filegroup$\fg1\FILE GROUP 95\https___pam.cws-gr.com_audits-audTrans-print.cfm_%2E%3C%24%3A%3_Index15968099.pdf'.
Copying files to remote side failed.
Syntax error in parameters or arguments.