FTP server confusion

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
anmac1789
Junior Member
Junior Member
Posts: 36
Joined: 2020-11-30, 01:33 UTC

FTP server confusion

Post by *anmac1789 »

hello, I'm having some difficulty with setting up FTP between my pixel 7 and windows 10 PC. On android, total commander asks for hostname and remote dir and local dir, what does this mean what do I use ?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: FTP server confusion

Post by *ghisler(Author) »

Windows does not run an FTP server by default. You need to run one like FileZilla Server or Microsoft IIS.
"hostname" is the name or IP address of your PC. Depending on your router, your PC cannot be accessed by name. In this case, you need to log in to your router and set the PC to a fixed IP address. Then you can enter that address in the FTP plugin.
"remote dir" would be the directory to which to go on the server immediately after connecting.
"local dir" cannot be set on the Android plugin, only in Total Commander for Windows. It would set the directory in the other (target) panel.
Author of Total Commander
https://www.ghisler.com
anmac1789
Junior Member
Junior Member
Posts: 36
Joined: 2020-11-30, 01:33 UTC

Re: FTP server confusion

Post by *anmac1789 »

ghisler(Author) wrote: 2023-11-26, 09:48 UTC Windows does not run an FTP server by default. You need to run one like FileZilla Server or Microsoft IIS.
"hostname" is the name or IP address of your PC. Depending on your router, your PC cannot be accessed by name. In this case, you need to log in to your router and set the PC to a fixed IP address. Then you can enter that address in the FTP plugin.
"remote dir" would be the directory to which to go on the server immediately after connecting.
"local dir" cannot be set on the Android plugin, only in Total Commander for Windows. It would set the directory in the other (target) panel.
With filezilla, it doesn't preserve folder timestamps. With MS IIS, it was too complicated to set up but does it preserve folder/file timestamps?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: FTP server confusion

Post by *ghisler(Author) »

Filezilla should preserve file timestamps, but not folder timestamps. If you want to preserve them, pack the folders on android with ZIP, transfer the ZIP to the PC, and then unpack the ZIP with a file manager which can preserve folder timestamps like Total Commander for Windows.
Author of Total Commander
https://www.ghisler.com
anmac1789
Junior Member
Junior Member
Posts: 36
Joined: 2020-11-30, 01:33 UTC

Re: FTP server confusion

Post by *anmac1789 »

ghisler(Author) wrote: 2023-12-05, 09:37 UTC Filezilla should preserve file timestamps, but not folder timestamps. If you want to preserve them, pack the folders on android with ZIP, transfer the ZIP to the PC, and then unpack the ZIP with a file manager which can preserve folder timestamps like Total Commander for Windows.
some file managers pack the folders with -1/+1 seconds. Why is this so ?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: FTP server confusion

Post by *ghisler(Author) »

ZIP format uses FAT32 style time stamps, which have a resolution of 2 seconds.
Author of Total Commander
https://www.ghisler.com
Post Reply