don't follow symlinks ins script

Advertisement

seanb724-2
Guest

don't follow symlinks ins script

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

Thanks
Sean

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: don't follow symlinks ins script

No.
_________________
Martin Prikryl

Reply with quote

kfank
Joined:
Posts:
1
Location:
Oregon, USA

Re: don't follow symlinks ins script

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.

Reply with quote

Advertisement

You can post new topics in this forum