I need to transfer some files from an Unix ftp server to a Windows platform. Some of the files in the Unix server have the "Windows invalid" character in the filename. For example, a file with the name "abc:123.txt" in the Unix. When I tried to use Scpg3 to copy the file to Windows, I get invalid argument error. This is my command: scpg3 myId@myUnixServer:/home/files/* d:temp Error: error: Invalid argument, file: d:/temp/abc:123.txt How do I solve this problem?
This question is marked "community wiki".
|
Hi Jessica, I am afraid you will have to check for the invalid characters in some client side script, replace those with valid characters to construct destinate file name and use new file name for the destination file. Of course that means you have to transfer the files one by one. Neither of Tectia Client command-line tools or Tectia Server seems to have such automatic “Windows filename correction feature” implemented. It is explicitly mentioned also in section “Filename Support” of Client User Manual The Tectia - Secure File Transfer Client with Graphicsl User Interface for Windows, however, does rename such files on the fly. With regards Martin |