Support of symbolic links over SFTP

2,237 views
Skip to first unread message

Michel Fasen

unread,
Feb 3, 2012, 10:36:33 AM2/3/12
to tacitd...@googlegroups.com
I'm synchronising my phone and tablet to my laptop (Linux Mint 10) using SFTP (open SSH server). If I have a symbolic link in one of the folders on my laptop then FolderSync returns an error (Sync failed: Failure).

When using the build in File manager I notice the link is displayed as a 0 byte file. Other SFTP browser I tried (like File Expert) on my phone and tablet do handle symbolic links as normal directories.

I've send the log file to the support email address as it contains some useful details.

Thanks for the awesome tool!

Support User

unread,
Feb 3, 2012, 12:57:55 PM2/3/12
to tacitd...@googlegroups.com
Please try attached version. Remember to backup stuff first. :-)

Best regards
Anders Carlsen
Software Developer

If you like our apps, please give them a 5-star rating. Thanks. :-)
 
Tacit Dynamics



2012/2/3 Michel Fasen <joe...@gmail.com>
FolderSyncFull-release.apk

Michel Fasen

unread,
Feb 3, 2012, 1:39:30 PM2/3/12
to tacitd...@googlegroups.com
Thanks! I can now enter the directory and also copy the file from the remote system to the local sdcard, so that seems to work fine.

However the sync itself still fails, returning the message 'Error occurred while syncing: null'. I've send the log files :)

Peter Fichtner

unread,
Mar 4, 2012, 7:41:16 AM3/4/12
to tacitd...@googlegroups.com

However the sync itself still fails, returning the message 'Error occurred while syncing: null'. I've send the log files :)

Same to me. When syncing I got an error "null" on symlink directories using SFTP, tested with actual version 2.0.0

Support User

unread,
Mar 4, 2012, 9:28:19 AM3/4/12
to tacitd...@googlegroups.com
Could you send me a log file with the error also? Thank you.

grant johnson

unread,
May 30, 2012, 1:51:20 PM5/30/12
to tacitd...@googlegroups.com
I am having the same issue on 2.0.4.   I have sent the logs to you.

Support User

unread,
Jun 6, 2012, 10:00:05 AM6/6/12
to tacitd...@googlegroups.com
I have tested symlinks, and they should be working in the next released version.

Best regards
Anders Carlsen
Software Developer

If you like our apps, please give them a 5-star rating. Thanks. :-)
 
Tacit Dynamics


Jeremy

unread,
Sep 12, 2012, 4:00:33 PM9/12/12
to tacitd...@googlegroups.com
Symlinks to directories work fine, but symlinks to files do not work for me : if I have a symlink "foo" pointing to a file "bar", FolderSync fails to fetch the file with an error : "SFTP://path/to/foo/bar - No such file" (which is normal since /path/to/foo/bar does not exist on the target system).

Erik Demaine

unread,
Aug 22, 2013, 4:29:41 PM8/22/13
to tacitd...@googlegroups.com
I concur: FolderSync seems to assume that symbolic links point to directories, when in fact they may be pointing to either files or directories.  When trying to sync a directory that has a linked file, FolderSync says "Error occured while syncing: No such file : [name of link]/  (note the trailing slash, which indicates it's assuming the link is a directory...)

mi...@hartmanipulation.com

unread,
Jan 17, 2014, 1:29:41 PM1/17/14
to tacitd...@googlegroups.com
Agreed. Not only are file-level symlinks still broken a year and a half later (!!!) but filenames aren't being escaped properly. I get errors any time I try to transfer a file with a ' or a : in the name, even though those are perfectly valid Linux filesnames that I don't have any trouble transferring with other scp/sftp clients.

This is a great app that I was using to keep photos, music, ebooks and comics synced between my phone and my fileserver, but these problems are show-stoppers for me. I can't find anything better though, so I might just have to roll my own...
Reply all
Reply to author
Forward
0 new messages