FileZilla Client ↔ FileZilla Server: Can a single XML profile enforce timestamp preservation across FTP and SFTP?
0 reputation · 29 Jul 2024, 10:59 UTC
0 reputation · 29 Jul 2024, 10:59 UTC
The goal is to create a repeatable development environment where a single exported XML from FileZilla Client can drive both client connections and server access control while preserving local file timestamps on the remote side.
FileZilla Client stores site-manager entries in an XML file that includes connection details and the Preserve timestamps setting. FileZilla Server, however, maintains users, groups, and permissions in a separate configuration file. FTP and SFTP protocols interpret and expose timestamps differently, and the server’s ability to honor the client‑requested timestamp depends on protocol support and server configuration.
Unresolved behavior: does a single XML profile suffice to configure both client and server for a fully automated, repeatable setup, and will the remote file’s modification time reliably match the local timestamp on both FTP and SFTP transfers?
Specific questions:
35775 reputation · 29 Jul 2024, 15:31 UTC
No. A single FileZilla Client site-manager XML cannot configure FileZilla Server users, groups, shared folders, or permissions, and enabling Preserve timestamps in the client does not guarantee that the remote modification time will match the local file on FTP or SFTP. A repeatable setup requires separate client and server provisioning, plus per-protocol verification.
The client XML is a client-side profile. It stores connection details and the Preserve timestamps preference, but it has no schema for FileZilla Server accounts or access rules. FileZilla Server maintains users, groups, and shared-folder permissions in its own configuration, so importing a client export into the server will not create access for a remote user.
Preserve timestamps is a request, not a guarantee. FTP commonly uses MDTM after upload; SFTP uses file-attribute mtime or SETSTAT. The server must accept the command, allow write and overwrite on the target folder, and avoid changing the time through timezone conversion, DST handling, filesystem resolution, or resume/append behavior. Any of those can cause the stored mtime to differ from the local mtime.
Preserve timestamps option and administering FileZilla Server through its admin interface.Preserve timestamps enabled and import it into FileZilla Client on each repeatable machine. This configures only the client side.MDTM is available and not restricted. Upload a file with a known local mtime, then compare the remote mtime reported by FileZilla Client or shown in the server admin or logs.No shell command is required for this check. In FileZilla Server admin, open Users or Groups, select the target account, open Shared folders, and verify Write and overwrite/replace permissions for the target folder. Then perform a controlled upload of a test file with a known local mtime and compare the remote mtime for FTP and, separately, for SFTP.
Does your installed FileZilla Server build accept SFTP connections? This changes the recommendation: if it is FTP/FTPS only, you cannot validate SFTP timestamp preservation against that server and need a separate SFTP server.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.