Using MGET FTP command

5 pts.
Tags:
FTP
General Directories
MGET
Does anyone know how may I get files with the same beginings as abc*.* in different directories inside of the main directory using mget.

Any help would be appreciated

ASKED: December 14, 2010  2:38 AM
UPDATED: December 14, 2010  2:52 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

You could do it this way:

<pre>mget subdir1/abc* subdir2/abc* subdir3/subdir4/abc*</pre>

This will work on most ftp clients.

-CarlosDL

——————————-

Here u didn’t mention which OS u r using ! I am guessing, on Linux.
mget copies one or more remote files to the local computer. mget can get multiple files with a wildcard, but it won’t do it recursively. Even with a client like ncftp, u can’t specify a pattern with a recursive get. there may be an ftp client out there that will do this, but the standard ftp will never do this. Instead it is better to try for rsync.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following