Need guide to compile FileZilla Server under Windows
Moderator: Project members
Need guide to compile FileZilla Server under Windows
Dear Developers, Hi
I have a goal to add a file versioning feature + a different log system to FileZilla Server.
I have found the Source code of the latest stable version of FileZilla Server (1.2.0) from this page.
Before starting to develop on it I needed to make sure whether there is a sufficient guide to Build and Compile it but I could not find any.
Please help me if you have any information on how to build and compile FileZilla Server (the latest stable version) under Windows 10.
Thank you in advance.
I have a goal to add a file versioning feature + a different log system to FileZilla Server.
I have found the Source code of the latest stable version of FileZilla Server (1.2.0) from this page.
Before starting to develop on it I needed to make sure whether there is a sufficient guide to Build and Compile it but I could not find any.
Please help me if you have any information on how to build and compile FileZilla Server (the latest stable version) under Windows 10.
Thank you in advance.
Re: Need guide to compile FileZilla Server under Windows
The wiki guides (https://wiki.filezilla-project.org/Client_Compile) will work, but instead of downloading the client sources, replace those steps with the server source archive from the downloads page -- https://filezilla-project.org/download. ... ype=server.
There is also this, but it's "unofficial" - user submitted guide - uses WSL-1/Debian on Windows and I get reproduce-able builds that work: https://github.com/thecarnie/make-filezilla
There is also this, but it's "unofficial" - user submitted guide - uses WSL-1/Debian on Windows and I get reproduce-able builds that work: https://github.com/thecarnie/make-filezilla
Re: Need guide to compile FileZilla Server under Windows
iam_sysop wrote: ↑2022-02-02 06:49The wiki guides (https://wiki.filezilla-project.org/Client_Compile) will work
Thank You 'iam_sysop', do you have a successful build and compile experience with the wiki guide?
Re: Need guide to compile FileZilla Server under Windows
What do you mean by "file versioning"?
Re: Need guide to compile FileZilla Server under Windows
So every time a file that already exists in the server gets uploaded, the FTP server automatically renames the file name with the version (e.x list_v2.8.csv), and also the FTP server will archive the old file to a path.
Dear oibaf, seems like you are a FileZilla server developer, do you have any instructions on how I can compile and build the FileZilla server project?
and any idea how to import it to the visual studio so I can start working on it?
Re: Need guide to compile FileZilla Server under Windows
I don't use the Visual Studio solutions -- any time I build FileZilla (client or server) I do the cross-compile method via Linux (Debian) or using Windows Subsystem for Linux (v1) with Debian as the file-system. That is almost always successful for both client and server.koofi wrote: ↑2022-02-02 10:34iam_sysop wrote: ↑2022-02-02 06:49The wiki guides (https://wiki.filezilla-project.org/Client_Compile) will work
Thank You 'iam_sysop', do you have a successful build and compile experience with the wiki guide?
The MinGW/MSYS2 "native" Windows build is somewhat tedious so I tend to avoid it (even though it is a valid / usable method that produces working builds if there are no errors with the libraries)
Re: Need guide to compile FileZilla Server under Windows
How do you intend to make this work, in practice? How would you inform the server about the version?
The instructions that you were given above work just fine. Visual Studio is not supported at the moment, I myself work on Linux using QtCreator as an IDE. The official build is made using the automake/autoconf tools. Even the windows binaries are crosscompiled from Linux.Dear oibaf, seems like you are a FileZilla server developer, do you have any instructions on how I can compile and build the FileZilla server project?
and any idea how to import it to the visual studio so I can start working on it?
Re: Need guide to compile FileZilla Server under Windows
Thank you very much "iam_sysop", appreciate your quick response.iam_sysop wrote: ↑2022-02-02 16:00
I don't use the Visual Studio solutions -- any time I build FileZilla (client or server) I do the cross-compile method via Linux (Debian) or using Windows Subsystem for Linux (v1) with Debian as the file-system. That is almost always successful for both client and server.
The MinGW/MSYS2 "native" Windows build is ...
Re: Need guide to compile FileZilla Server under Windows
Please mind the GNU Affero General Public License FileZilla Server is distributed under. One part of the license requires that when making changes to FileZilla Server, you need to make the source code available to everyone who uses the modified version over a network. Please also pay attention to our trademark policy, especially the section that deals with modifications.
Re: Need guide to compile FileZilla Server under Windows
What complications apply with libfilezilla/FileZilla Client being under GPLv2 and FileZilla Server being under AGPLv3+?botg wrote: ↑2022-02-03 09:27Please mind the GNU Affero General Public License FileZilla Server is distributed under. One part of the license requires that when making changes to FileZilla Server, you need to make the source code available to everyone who uses the modified version over a network. Please also pay attention to our trademark policy, especially the section that deals with modifications.
Per your request, the LICENSE applied on my compilation help pages have all been moved to AGPLv3+ - but does this now affect the files that are based on libfilezilla and FileZilla client but not Server? How does I properly apply this with libfilezilla being a standalone library that is used in both projects with differing licenses?
Re: Need guide to compile FileZilla Server under Windows
AGPLv3+ and GPLv3+ are cross-compatible. libfilezilla is distributed under GPLv2+. Linking libfilezilla against FileZilla Server is thus possible by applying the GPLv3 to libfilezilla.
Re: Need guide to compile FileZilla Server under Windows
Basically for now my idea is very basic, I want to rely on the file name, let's say if we have a "test.csv" file on the server and the client downloaded it, then again attempts to upload the same file to the server, base on equal names FTP server will ask if this is the new version of the current hosted file? If the answer is yes then a version number will append to the end of the file name.
Thank you for your quick reply to my question.
Re: Need guide to compile FileZilla Server under Windows
botg wrote: ↑2022-02-03 09:27Please mind the GNU Affero General Public License FileZilla Server is distributed under. One part of the license requires that when making changes to FileZilla Server, you need to make the source code available to everyone who uses the modified version over a network. Please also pay attention to our trademark policy, especially the section that deals with modifications.
Thank you Tim, of course this will be one of my main observations.
Re: Need guide to compile FileZilla Server under Windows
Dear Developers,
Any Idea why I'm getting an error when trying to use the "install.nsi" file in NSIS ?
ERROR:
!include: could not find: "common_install.nsh"
!include: could not find: "server_uninstall.nsh"
!include: could not find: "gui_uninstall.nsh"
I have searched the whole source directories and could not find these 3 files.
Any Idea why I'm getting an error when trying to use the "install.nsi" file in NSIS ?
ERROR:
!include: could not find: "common_install.nsh"
!include: could not find: "server_uninstall.nsh"
!include: could not find: "gui_uninstall.nsh"
I have searched the whole source directories and could not find these 3 files.