![]() |
ioFTPD and Synckback
Anyone here use or have used the sync program SyncbackPro? I cannot get it to work with ioFTPD, I think it is something to do with MDTM, but I have tried all the different settings it gives me, but every time I try to sync a folder or drive it tells me it hasn't been done.
The only option left which I do not really want to use is change local files and dates to match that on the server |
I haven't used that program, but I can give you a few things to double check permission wise...
1) Check the permissions under [VFS] to make sure you allow setting timestamps at all... The default is: Code:
TimeStamp = /* !* 2) There is also an exception to the above which allows you to modify the timestamp of the last file you just uploaded even if prohibited by the above rule. This makes it easy to sync new things but not existing stuff. That option is Enable_TimeStamp_On_Last_Upload under [Ftp] which also defaults to false so by default the server rejects all MDTM set commands. 3) If things still don't work you could try to hide the fact that the server supports the MDTM command at all via the Feature_Suppression feature and/or changing the permissions on the command itself... I don't think you can use MDTM to modify the timestamp of a directory itself (just the files in it) which may be an issue for you, but it sounds like the files aren't even correct at the moment... Another program I've played with in the past that you might want to check out is SuperFlexibleFileSyncronizer which was pretty slick for syncing files/folders. It has a ton of options, as it's name suggests, so it's a bit complicated the first time you use it to get everything the way you want. It supports syncing over FTP connections. |
Thanks Yil, I will test out your suggestions and get back to you :)
edit: after trying all the things you suggested I get Features supported by FTP server: MODE Z: No MDTM: Yes MFMT: No MLST: No SIZE: Yes REST: Yes XCRC: Yes Passive connection: Yes Can set file last modification date and time: No - (even though this is set to true) Supports safe copies: Yes Supports file hashing: Yes |
If you check the FEAT response you'll see:
Code:
MDTM They did check for the MFMT command which is another proposed extension to set the modification time of a file. ioFTPD currently doesn't support this so that's most likely why it thinks it can't be set. Just to make sure it isn't a permission issue, use Flash or something to upload a file and enable the set timestamp on uploaded file feature in it and see if the server accepts the timestamp change. If it does then that software must only use MFMT and that isn't support so you probably can't sync the timestamps right now... You could see if they support any other methods to change the timestamp like via one of the site commands that some servers use, that could always be easily scripted and added to the server. |
have made all the files 777 but still getting issues, although after seeing some in the status window I think it may be something in the ioftpd.ini file
04/06/2012 20:50:36: MDTM 20120604195035 SBSE____.9F5 04/06/2012 20:50:36: 550 SBSE____.9F5: Permission denied (config file). ----- this bit here 04/06/2012 20:50:36: SITE UTIME 20120604195035 SBSE____.9F5 04/06/2012 20:50:36: 500 'SITE UTIME': Command not understood. 04/06/2012 20:50:36: SITE UTIME 201206041950 SBSE____.9F5 04/06/2012 20:50:36: 500 'SITE UTIME': Command not understood. I am going to have a little play about and see if I cant hunt down this little issue :) edit: checking the software, it gives me 4 options MDTM syntax default ---- no idea what this is MDTM [time in GMT format] filename MDTM yyyymmddhhmmss [+- minutes from Universal Time] filename MDTM [local time stamp] filename I have been going through the Syncback forum but have not found anything yet, If I cant get this sorted I may email them edit 2: When looking at the logs that Syncback makes i have found something strange Drive Type FTP FTP Server Type glftpd - 215 UNIX Type: L8 Format FTP It's not glftpd though :p If i tell syncback ioftpd does not support MDTM it will transfer, although it will use the time on that machine. |
Quote:
Check the [VFS] section... You probably have the default Code:
TimeStamp = /* !* Code:
TimeStamp = /* 1M |
ah - I changed that setting after i posted but i put my name there instead of the flag - will try and report back :)
edit: Code:
05/06/2012 08:27:26: MDTM 20120605072725 SBSE____.PNT Code:
# nobody can overwrite a file, they must delete it and resend |
All times are GMT -5. The time now is 02:36 PM. |
Powered by vBulletin® Version 3.8.11 Alpha 3
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)