Re: Copy links as links
I have checked SFTP protocol specification. Unfortunatelly it does not provide way how to tell server if client wants to get the symlink file or symlink target. It it not even specific about what the server should provide by default.
For example OpenSSH SFTP server (mostly used) always returns symbolic link target.
Almost the same applies to SCP protocol.
So probably there is currently no way how to fulfil you need :-(
For example OpenSSH SFTP server (mostly used) always returns symbolic link target.
Almost the same applies to SCP protocol.
So probably there is currently no way how to fulfil you need :-(