login about faq

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".

asked Aug 15 '11 at 10:01

jessica%20alba's gravatar image

jessica alba

edited Aug 15 '11 at 10:01

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



answered Sep 08 '11 at 15:39

Martin%20Dobsik's gravatar image

Martin Dobsik

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Aug 15 '11 at 10:01

Seen: 7,608 times

Last updated: Sep 08 '11 at 15:39

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.