winscp - How to avoid trailing space being replaced with %20 when downloading a file with WinSACP -


i use winscp script download file sftp site. file has length of trailing space after file name.

after downloaded local computer %20 appended file name. example, file.txt_________ becomes file.txt________%20 on local computer (_ stands space).

could know command can put on winscp script remove it. thank in advance.

run winscp this:

winscp.com ... /script=your_script.txt /rawconfig interface\copyparam\replaceinvalidchars=0 

read raw configuration options.

you lose trailing spaces though, way.


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -