Receiving symlink target - WeOnlyDo Discussion board

Receiving symlink target (General questions)

by Bret R. Zaun, Saturday, December 04, 2004, 10:46 (7093 days ago)

I am wondering how to receive a symlink target via FTPDlx ?
I need to know whether a symlink points to a file or a folder in order to start off the correct action (download file or change to folder).

I am using FTPDlx in non-GUI mode.
Any idea ?

Re: Receiving symlink target

by wodSupport, Saturday, December 04, 2004, 11:08 (7093 days ago) @ Bret R. Zaun

Bret,

I'm not sure if there's some general solution. You can try get ListDir of that target, and see if error is reported. If it fails, you can try to call GetFile on it.

None of above are guaranteed to work, symlink can be also something else, but I suppose these are only options.