View Full Version : Comparing files' dates
brigcam
11-02-2001, 10:23 AM
Hello,
I mainly use FlashFXP to upload files to my website, I've set the options in "when file exists" so that the files get uploaded when they're different in size, so that i can simply queue the whole site and FlashFXPs uploads only the files which have modified size (ie that have changed).
Tho, at times i make only slightly changes to the html files so that the size remains the same, and i have to manually select and upload them. So I'd like to ask for an option like "upload if local file is newer" or something like that.
Another cool option would be something like "synchronize dirs", so that files i delete locally would get deleted also remotely: FlashFXP would compare the directories' listings and automatically remove from the FTP site those files which have no correspondance in the local directory.
Fusion
11-04-2001, 08:20 AM
Have you tried the Compare Folders function?
brigcam
11-04-2001, 11:11 PM
Comparing folders is useless in this case since subfolders aren't taken into account...
bigstar
11-04-2001, 11:59 PM
Originally posted by brigcam
Hello,
I mainly use FlashFXP to upload files to my website, I've set the options in "when file exists" so that the files get uploaded when they're different in size, so that i can simply queue the whole site and FlashFXPs uploads only the files which have modified size (ie that have changed).
Tho, at times i make only slightly changes to the html files so that the size remains the same, and i have to manually select and upload them. So I'd like to ask for an option like "upload if local file is newer" or something like that.
We have been looking into ways to provide this solution, however when you've got upload, download, fxp, size or date, the end result becomes a complex mess. There is no easy way to configure these type of setup, it's 3D. One consideration we have considered is a script based file exist rule.
i.e.
If SOURCE-FILE is NEWER than TARGER-FILE then OVERWRITE
Also in order for file date comparing to work FlashFXP must set the remote file date after transfer complete. Otherwise a date compare would be useless.
Research and developement of this will take some time.
Another cool option would be something like "synchronize dirs", so that files i delete locally would get deleted also remotely: FlashFXP would compare the directories' listings and automatically remove from the FTP site those files which have no correspondance in the local directory.
FlashFXP was not designed for this type of file synchronization, However we will consider this for future releases.
File Compare or rather Folder Compare is intended for comparing the two active folders against each other. It was not ment to check sub-folders.
brigcam
11-05-2001, 06:43 AM
Originally posted by bigstar
We have been looking into ways to provide this solution, however when you've got upload, download, fxp, size or date, the end result becomes a complex mess. There is no easy way to configure these type of setup, it's 3D. One consideration we have considered is a script based file exist rule.
i.e.
If SOURCE-FILE is NEWER than TARGER-FILE then OVERWRITE
This would be just perfect :)
epp_b
11-06-2003, 02:25 PM
I know this is a really old thread already, but I certainly would like to put my vote in for this feature.
I can understand why this can become a big mess. I think a start would be to implement something into the "File Exists Options". Maybe under destination, have the options:
Smaller and Newer
Smaller and Older
Same and Newer
Same and Older
Larger and Newer
Larger and Older
It still wouldn't be a complete synchronize (because it doesn't delete unmatched files in the target), but it would be a start.
Then again, a script-based idea is cool to :)
RaveN-FH-
11-14-2003, 12:20 PM
i'd like to see it as well...
i wouldn't expect the whole shabang at once either... just a first step along the path would be great.
Jerryseinfeld
11-20-2003, 08:42 PM
Why cant I check a box to make it delete all files that isn't in the source dir while it's going through the queue? I use the 'file exist rules' overwrite/skip/overwrite and it's great. (the ws_ftp sync thing creates an 'unrecoverable error' here)
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2025, vBulletin Solutions, Inc.