bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] FTP and --retr-symlinks


From: J D
Subject: [Bug-wget] FTP and --retr-symlinks
Date: Tue, 2 Jul 2013 13:04:46 +0200

Hi all,

I'am new to Wget and it's source code.

Is there a reliable way, for a FTP client, to discriminate symlinks to DIR
from symlinks to FILE other than trying to retrieve the target of the link
and parse the FTP server response code  like :
if ERRCODE == 550
  It *might* be a DIR
else
  it's a file

I've googled this and nothing really came up.

Thanks for your help

--
Jean


reply via email to

[Prev in Thread] Current Thread [Next in Thread]