1.

Solve : Mget doesn't work?

Answer»

I want to get all FILES from ftp, using SCRIPT.
mget *.* doesn't work, it says "Cannot find LIST of remote files". (files are located in a current directory)
HOWEVER "get" is working perfectly, but it is for single files.
And also want to know how to get all files from each subdirectory.
I suppose it is possible for the system administrator to inhibit the use of mget (my trouble recently was that the filesystem was case-sensitive and mget a*.* wasnt the same as A*.*).

What you COULD do is a multi-pass solution;
1] grab the directory listing to a file
2] edit the file to a script which GETs each of the files
3] for each subdirectory listed in the file, issue a cd command and repeat from 1]

GrahamThanks, will try.



Discussion

No Comment Found