FileZilla SFTP Compression Mod

Moderator: Project members

Post Reply
Message
Author
artn3r
500 Command not understood
Posts: 1
Joined: 2012-02-24 16:06
First name: Christian
Last name: Artner

FileZilla SFTP Compression Mod

#1 Post by artn3r » 2012-02-24 16:38

I recently downloaded nearly empty vmware vmdk files from my server,
and i saw that the connection speed is as low as downloading
full files. FileZilla3 has no option to enable ssh compression,
so a did a modification to the source code:

http://www.artn3r.com/public/filezilla-compression/

It just works for me, i download my vmdk files at over
20Mbyte/s on my 24Mbit DSL Line.

The only source file i've changed is sftpcontrolsocket.cpp.
I changed the line

Code: Select all

m_pid = wxExecute(executable + _T(" -v"), wxEXEC_ASYNC, m_pProcess);
to

Code: Select all

m_pid = wxExecute(executable + _T(" -C -v"), wxEXEC_ASYNC, m_pProcess);
This enables the compression over ssh whenever calling the fzsftp.exe binary.

Have Fun,
Christian
Last edited by artn3r on 2012-02-26 10:51, edited 1 time in total.

User avatar
botg
Site Admin
Posts: 32907
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: FileZilla SFTP Compression Mod

#2 Post by botg » 2012-02-25 20:40

I'm having problems reaching the linked site. Can you please attach a patch in the form of a unified context diff to this topic?

Post Reply