Receiving symlink target (General questions)

by Bret R. Zaun @, (7453 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 ?

locked

Re: Receiving symlink target

by Jasmine, (7453 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.

locked