Alex Mason
2013-02-20 18:49:19 UTC
The mirror command seems to ignore symbolic links when using SFTP.
It appears lftp detects symlinks by parsing ls output, and following target specified after -> which follows the file name. Unfortunately it seems at least in my setup that the ls output doesn't include the link target (which seemingly has to be requested specially). That makes the symlink check fail and it's never downloaded.
Not sure how to workaround this issue at present, apart from use hard links (won't work with dirs), or not use SFTP as the protocol.
It appears lftp detects symlinks by parsing ls output, and following target specified after -> which follows the file name. Unfortunately it seems at least in my setup that the ls output doesn't include the link target (which seemingly has to be requested specially). That makes the symlink check fail and it's never downloaded.
Not sure how to workaround this issue at present, apart from use hard links (won't work with dirs), or not use SFTP as the protocol.