New SFTP plugin available now
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50400
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I have received it and will integrate it soon. Thanks very much!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50400
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The code has been integrated in SFTP plugin 2.10, see first post for download links of plugin and sources. I had to make minor changes for 64-bit.
Thanks very much, CoolWater, for the contribution!
Thanks very much, CoolWater, for the contribution!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50400
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50400
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2ghisler(Author)
Well, i cannot find anything about server-side requirements. Only libssh2 needs to be Version >= 1.2.6. See https://www.libssh2.org/libssh2_scp_send64.html
Well, i cannot find anything about server-side requirements. Only libssh2 needs to be Version >= 1.2.6. See https://www.libssh2.org/libssh2_scp_send64.html
Re: New SFTP plugin available now
Hi, while creating some .patch files on linux, i traced a problem back to TC/sftp plugin. Basically the
So is there a way to disable this automatic conversion in TC/sftp plugin, so my files always keep the org. line endings and i get a hash perfect copy?
PS: My org. issue here (last 2 posts): https://forum.lede-project.org/t/solved-need-help-with-eol-mismatch-on-patch/17505/6
breaks my cross-platform workflow. Mainly because i often copy/edit on my windows host, while also using github-desktop for mixed work. I tested other sftp implementations winscp/sshfs-win and there no EoL conversion happens on transfers/opens.convert text files to/from Unix format during transfers
So is there a way to disable this automatic conversion in TC/sftp plugin, so my files always keep the org. line endings and i get a hash perfect copy?
PS: My org. issue here (last 2 posts): https://forum.lede-project.org/t/solved-need-help-with-eol-mismatch-on-patch/17505/6
- ghisler(Author)
- Site Admin
- Posts: 50400
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: New SFTP plugin available now
My plugin doesn't do any conversions. You can verify that by looking at the sources. Maybe your server does when it somehow detects a Windows client?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: New SFTP plugin available now
I'm confused since the changelog states:ghisler(Author) wrote: 2018-07-24, 14:21 UTC My plugin doesn't do any conversions. You can verify that by looking at the sources. Maybe your server does when it somehow detects a Windows client?
Code: Select all
20081231 Added: CR <-> CRLF conversion for transfers from/to Unix servers. Do not convert files containing 0 bytes (binaries, utf-16), do not convert CRLF to CRCRLF
PS: I checked my 'sshd_config' and can't find any setting regarding line ending conversions, i have 'OpenSSH_7.5p1, OpenSSL 1.0.2o' running on the server. Do you know any setting i can check that might be involved in this?
- ghisler(Author)
- Site Admin
- Posts: 50400
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: New SFTP plugin available now
Sorry, you are indeed right, there is such a conversion for text files. Just set the System type to Windows (CR/LF) to turn off line break conversions. It doesn't have any other effect, so it's not a problem to set this for a Unix based system.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: New SFTP plugin available now
Thanks for the clarification.ghisler(Author) wrote: 2018-07-24, 20:53 UTC Sorry, you are indeed right, there is such a conversion for text files. Just set the System type to Windows (CR/LF) to turn off line break conversions. It doesn't have any other effect, so it's not a problem to set this for a Unix based system.
So under what conditions does the Windows setting convert? I would prefer a "none" option, that never touches anything.