This is a discussion on scp and character encoding in file names within the OpenSSH Development forums, part of the Networking and Network Related category; ------=_Part_41066_7475473.1161867102731 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
------=_Part_41066_7475473.1161867102731
Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, I got an 'Invalid argument' error when trying to scp a file, with non-ascii characters in its name, from Linux (ISO 8859-15) to OS X (UTF-8). So I made a patch for scp that adds two option flags: -I: local side uses UTF-8 and remote side uses ISO 8859-15 -U: local side uses ISO 8859-15 and remote side uses UTF-8 and converts the filenames on-the-fly. Maybe it would be useful for others, as well. Risto Suominen ps. The patch seems to work with openssh-4.4p1, too. ------=_Part_41066_7475473.1161867102731 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@mindrot.org http://lists.mindrot.org/mailman/lis...enssh-unix-dev ------=_Part_41066_7475473.1161867102731-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|