DervishD <[EMAIL PROTECTED]> writes: > OK. Then, just curiosity, why it doesn't work for FTP files and why > it works for FTP files when passing '-r'?
Because `-p' is implemented as a special "leaf" recursion mode that sets maximum recursion depth to 0. The FTP code misinterprets this special recursion depth for a real recursion that happens to descend zero levels deep, i.e. that doesn't download anything. Adding `-r' worked around the problem because it forced real recursion, which doesn't do anything special when downloading one file over FTP.
