Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Re: How to disable automatic symlink resolution?

Thanks for your post. This issue is being tracked already.

Regarding the mask: It is because the size of the symlink is considered, not the size of the target file.

Re: How to disable automatic symlink resolution?

Hi, I've got a similar problem here. Let's say I wanna copy from a remote Linux machine a directory with many directories, some of them containing symbolic links to very large files. I don't need these files to be actually transferred - only the symbolic links (if it is not possible I'd prefer to skip these links at all). I tried to unset "resolve symbolic links" and exclude files by theirs weights (mask: *>70M), but these files are still copied.
What on Earth am I doing wrong?

Thanks a lot! It works perfectly.

I searched through every option after logging in and couldn't find anything. I've never thought that the option could only be reached before logging in!

How to disable automatic symlink resolution?

When I browse to a directory containing symbolic links, WinSCP would hang for a few seconds before showing the listing. A directory with a similar number of files without any symlinks shows almost immediately. Apparently this is because WinSCP sequentially resolves each symlinks in the directory, and the network latency between me and the server is less than ideal. WinSCP display a nice little icon to indicate whether the symlink destination exists.

How can I tell WinSCP NOT to resolve the symlinks when I'm browsing the directories? I don't need to know whether the symlinks point to valid files, and I want WinSCP to show the directory to me immediately. It would be better if the user can set WinSCP to resolve symlinks on-demand (download/open/edit) rather than in-advance.

If this is not currently implemented, could you please tell me which part of the directory listing code calls the symlink resolution functions? I'm willing to make the effort to compile my own version because pausing for a few seconds every now and then is really frustrating.