Topic "don't follow symlinks ins script"

Author Message


Using a script, is there a way to tell winscp to not follow symbolic links?

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
Martin Prikryl
[View user's profile]

Joined: 2011-08-17
Posts: 1
Location: Oregon, USA
I have symbolic links on the my remote linux machine that point to non-existent directories/files. You have stated that there is no way within a script to instruct WinSCP not to resolve the links. When I run my script to synchronize with my Windows machine I get the following message:

Cannot open remote file '/home/kfank/proj/icp/distro/target/generic/skeleton/etc/mtab'.
No such file or directory.
Error code: 2
Error message from server: No such file
Request code: 3
(A)bort, (R)etry, (S)kip, Ski(p) all:

If I enter 'p' for Skip All, I continue to get this message on each subsequent symlink that cannot be resolved. I don't care that the link cannot be followed. There are a fair number of them and it would be nice if Skip All would actually skip all such errors.

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License