Winscp.com adding a space at end of file name
Version 5.14 (build 3020)
I have found that Winscp.com is adding a space at end of file name when I use parameters to pass in the file names.
I don't have problems if I manually enter the file names.
winscp> put LBS-05132013.csv live/LBS-05132013.csv
This works fine, but if I use parameters passed in I get a space at the end of the file name when it is put to the target server.
\\server.com\BORepository\FileStore\FileStore\WinScp\winscp.com /script="\\server.com\BORepository\FileStore\FileStore\WinScp\lbs_72HrRule_ftp.txt" /log="\\server.com\BORepository\FileStore\FileStore\WinScp\lbs_72HrRuleftp1.log" /parameter "\\server.com\BORepository\FileStore\FileStore\WinScp\LBS-05132013.csv" "LBS-05132013.csv""
The log does not show a space at the end when its sent.
> 2013-05-13 07:24:20.740 Script: put \\server.com\BORepository\FileStore\FileStore\WinScp\LBS-05132013.csv live/LBS-05132013.csv"
There ends up being a space at the end of the file name, I confirmed this using winscp.exe.
Any thoughts?
I have found that Winscp.com is adding a space at end of file name when I use parameters to pass in the file names.
I don't have problems if I manually enter the file names.
winscp> put LBS-05132013.csv live/LBS-05132013.csv
This works fine, but if I use parameters passed in I get a space at the end of the file name when it is put to the target server.
\\server.com\BORepository\FileStore\FileStore\WinScp\winscp.com /script="\\server.com\BORepository\FileStore\FileStore\WinScp\lbs_72HrRule_ftp.txt" /log="\\server.com\BORepository\FileStore\FileStore\WinScp\lbs_72HrRuleftp1.log" /parameter "\\server.com\BORepository\FileStore\FileStore\WinScp\LBS-05132013.csv" "LBS-05132013.csv""
The log does not show a space at the end when its sent.
> 2013-05-13 07:24:20.740 Script: put \\server.com\BORepository\FileStore\FileStore\WinScp\LBS-05132013.csv live/LBS-05132013.csv"
There ends up being a space at the end of the file name, I confirmed this using winscp.exe.
Any thoughts?
Last edited by molonede on 2013-05-15 12:23; edited 1 time in total