"undisable" compare by content in FTP mode
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Probably not - TC sends the FEAT (feature list) command to check whether the server supports one of the following commands:
XSHA1
XMD5
MD5
XCRC
If not, then TC cannot compare by content, sorry. Downloading all files just for comparing isn't an option, I'm sure that I would get very bad reactions because of the traffic...
XSHA1
XMD5
MD5
XCRC
If not, then TC cannot compare by content, sorry. Downloading all files just for comparing isn't an option, I'm sure that I would get very bad reactions because of the traffic...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 8
- Joined: 2010-05-20, 22:01 UTC
ahh, to bad. That's a pretty much show stopper for meghisler(Author) wrote:Probably not - TC sends the FEAT (feature list) command to check whether the server supports one of the following commands:
XSHA1
XMD5
MD5
XCRC
If not, then TC cannot compare by content, sorry. Downloading all files just for comparing isn't an option, I'm sure that I would get very bad reactions because of the traffic...

Is there a possibility to write addon to achieve this functionality ? I am very much familiar with Delphi

-
- Junior Member
- Posts: 8
- Joined: 2010-05-20, 22:01 UTC
I understand that cannot expect that you will implement every feature that I can think of, but I just wont to explain my problem. I have ASP.NET web application that is installed on 50+ web sites, and it's a frequent task that I have to update some content/binaries on web server for just one site. I am using TC for that, while automatic update/deployment would be far more better solution, for now that is not an option and I am stuck with FTP, and *very* important information is that content is different. I can't just copy something from dev machine to server, I have to check what is different and why. I know that this is a very bad practice but that application is in beta release and some people that are contributing the content are not using source control.ghisler(Author) wrote: If not, then TC cannot compare by content, sorry. Downloading all files just for comparing isn't an option, I'm sure that I would get very bad reactions because of the traffic...
That's my situation, and I really think that I am not alone with this problem. IMO traffic and bandwidth are small problem for most of your users. But you can implement this feature optionally, just enable the "by content" check box (speaking for UI, I am aware that you have to program additional functionality, downloading from ftp and then compare).
And thank you for this wonderfull program, I really love TC and would hate to use some other tool for this task because TC is extension of my fingers

-
- Junior Member
- Posts: 8
- Joined: 2010-05-20, 22:01 UTC
Yes !! I will install some other FTP server, thanks ! I don't know why I didn't think of that, it seems that developing in almost exclusive MS environment is affecting one's mindSob wrote:It's possible to write some extensions for IIS FTP (e.g. custom authentication or logging). But custom commands do not seem possible. You could watch for them using logging extension, but there's no way to send the reply back, so it's useless.
Different FTP server is the solution.

I was thinking to use Filezilla, presumably Filezilla suports these commands.
-
- Junior Member
- Posts: 8
- Joined: 2010-05-20, 22:01 UTC
After some googling I can't find free ftp server for windows that suport some of this commands, so must go for shareware ones, I think that I would buy Gene6 FTP server.Sob wrote:FileZilla doesn't support these commands either. It's author is strongly opposed to adding anything non-standard (not formally specified in RFC). New command called HASH is being prepared, but it still has a long way to go before being accepted as standard and implemented in servers and clients.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Btw, why do you need to compare by content? Now that TC uses MLSD, it can compare by date/time reliably - of course the server has to support MFMT, MDTM or SITE UTIME to set the file time on the server. FileZilla server does support MFMT.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 8
- Joined: 2010-05-20, 22:01 UTC
honestly , I don't know what theese acronims are stand for, don't have time now to investigate, I solved my problem with Cerberus FTP server. That server supports XCRC and I can compare by content.ghisler(Author) wrote:Btw, why do you need to compare by content? Now that TC uses MLSD, it can compare by date/time reliably - of course the server has to support MFMT, MDTM or SITE UTIME to set the file time on the server. FileZilla server does support MFMT.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
MLSD = machine list, standardized method to get file list
The other 3 commands are used to set the time of an uploaded file on the server. Support for one of the is sufficient.
The server shows as a reply to the FEAT command whether it supports one of these features.
The other 3 commands are used to set the time of an uploaded file on the server. Support for one of the is sufficient.
The server shows as a reply to the FEAT command whether it supports one of these features.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 63
- Joined: 2006-02-06, 08:51 UTC
- Location: antwerp, belgium
-
- Junior Member
- Posts: 8
- Joined: 2010-05-20, 22:01 UTC