Hi All,
I'm trying to sync to data disks via SFTP using freeFTPd.
Although I can correctly browse all folders using Winscp, FreeFileSync (7.8) only seems to see only a few files.
I.e. the remote side is almost empty, and FreeFileSync thinks it needs to transfer almost all files to the remote side.
FreeFileSync doesn't generate any error, and both disks were synchronized before (in the same computer) using FreeFileSync without a problem.
Am I doing something wrong?
Can this be the problem of freeFTPd?
Are there any easy to use SFTP-servers for windows that are known to be compatible with FreeFileSync?
Kind Regards,
Henk H.
not syncing well using SFTP with freeFTPd
- Posts: 9
- Joined: 18 Jan 2016
- Site Admin
- Posts: 7211
- Joined: 9 Dec 2007
SFTP is implemented in terms of libssh2, which should be able to work with freeFTPd in general. If you have steps how to reproduce the problem I could try to see if there is an issue on FFS's side.
- Posts: 9
- Joined: 18 Jan 2016
Hi,
Thanks for your quick response, and sorry for my delayed one (Sourceforge didn't sent me a e-mail on your reply :S).
These are the steps I took to setup FreeFTPd:
- (Download: http://www.freesshd.com/?ctt=download)
- Installed freeFTPd
- Disabled FTP & Enabled SFTP
- (Hostkey) I generated both a 1024bit RSA as a 1024bit DSA key
- (Users) I Added an extra user, and restricted all user to only SFTP
- (Host restrictions) Restricted to allow only local network (192.168.1.)
- (Logging) enable logging
What I noticed in the freeFTPd log, was that all files and folders were requested alphabetically, but it always stopped at the same point. This was at 66180 files and 7603 folders. When I moved the folder FreeFileSync stopped in, FreeFileSync stopped at roughly the same point (but not the exact same amount files/folders).
I tried to move some more folders, and it had the same effect. So it doesn't seems to be choking on particular files or folders. I also tried moving a folder that was already scanned correctly (one of those 7603 folders), and then FreeFileSync progresses the same, i.e. it still processes roughly the same amount of files and folders.
This was all tested with 7.8
Kind regards,
Thanks for your quick response, and sorry for my delayed one (Sourceforge didn't sent me a e-mail on your reply :S).
These are the steps I took to setup FreeFTPd:
- (Download: http://www.freesshd.com/?ctt=download)
- Installed freeFTPd
- Disabled FTP & Enabled SFTP
- (Hostkey) I generated both a 1024bit RSA as a 1024bit DSA key
- (Users) I Added an extra user, and restricted all user to only SFTP
- (Host restrictions) Restricted to allow only local network (192.168.1.)
- (Logging) enable logging
What I noticed in the freeFTPd log, was that all files and folders were requested alphabetically, but it always stopped at the same point. This was at 66180 files and 7603 folders. When I moved the folder FreeFileSync stopped in, FreeFileSync stopped at roughly the same point (but not the exact same amount files/folders).
I tried to move some more folders, and it had the same effect. So it doesn't seems to be choking on particular files or folders. I also tried moving a folder that was already scanned correctly (one of those 7603 folders), and then FreeFileSync progresses the same, i.e. it still processes roughly the same amount of files and folders.
This was all tested with 7.8
Kind regards,
- Posts: 9
- Joined: 18 Jan 2016
Hi,
I retried with FreeFileSync 8.0, and the problem still persists.
Is there another way I can help solve this problem? (I'm not a programmer)
Kind Regards,
I retried with FreeFileSync 8.0, and the problem still persists.
Is there another way I can help solve this problem? (I'm not a programmer)
Kind Regards,
- Site Admin
- Posts: 7211
- Joined: 9 Dec 2007
I made a few tests with FreeFTPd and noticed that it does not use the UTF8 encoding (but probably the local ANSI encoding of the server). Maybe this is the problem?
- Posts: 9
- Joined: 18 Jan 2016
It seems to be able to list folders with a >'< sign in the name. In another test it could be, that it is stopping on a file with only an extension (e.g. >.project<). There didn't seem any other abnormal characters around the stops.
(And it was not close to be processing some of the files with more strange characters, like é è ë ß and such).
Do you think that side of FreeFTPd chokes? or that it is FreeFileSync's side?
(And it was not close to be processing some of the files with more strange characters, like é è ë ß and such).
Do you think that side of FreeFTPd chokes? or that it is FreeFileSync's side?