Hi, wget tries "LIST -a" first. If the FTP server doesn't understand it (=returns an error message), wget falls back to "LIST".
Tim On Monday 23 May 2016 15:46:51 李明 wrote: > Hi, I use wget-1.11.4 to download the file successfully from my FTP server > which wrote by myself. When I updated wget to verion 1.16 , I found that > download file failed. The reason is my FTP server only support 'LIST' > command. In this case wget-1.16 run in the case UST_TYPE_L8,using 'LIST > -a' as a standard command. > > In RFC0959(FTP), the ”LIST -a“ is not declared clearly a standard command. > So I personally think that in this case it would be without compatibility. > Is it more reasonable to try "LIST -a" then "LIST"? Thank you very much. > > Regards, > Liming
signature.asc
Description: This is a digitally signed message part.
