GetDotted Domains

Viewing Thread:
"Command prompt FTP question - recieving multiple files."

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Fri 28/11/03 at 11:45
Regular
"smile, it's free"
Posts: 6,460
I'm here, in my room, on a Windows XP box. The files I want are in the department, on a linux machine.

I've FTP'd in remotely, but I can't find a command which will get me all the files.

The files I need aren't all in the same directory.... there is a root folder called 'ProjectB', containing fifteen subfolders. Each of those subfolders in turn contains ten more subfolders, each of which contains six files with the extension .rec which I need. So you can see why I don't want to do this one folder at a time :)

The relevant commands we have available from FTP include recv, mget and get. (Of which, I think get and recv are exactly the same)

Now, I'm sure there is some way to recursively get every file in every subdiretory with one command, but I can't figure out how.

I've tried
mget -R *.*
mget -R *.rec
(both from inside the root folder)
but this seems to attempt to recognise folders as files, and therefore doesn't look inside them. (I get 'mget [foldername]' at the prompt, and if I choose yes, I'm told it's not a plain file)

The get command on the other hand, seems not to recognise the -R option...



Anyone have any ideas? I'm stumped.
Fri 28/11/03 at 17:24
Regular
"Picking a winner!"
Posts: 8,502
think there is sometimes a problem with it trying to get binary files or ascii files so depending what the files are you might need to type

ascii or binary to change it to the right format.

then mget *.rec should recieve all the .rec files in the directory.

Although some might not allow the use of the wildcard character * so you will just have to type each file individually which I think nobody would really like to do. Far better to go for the 10 minute walk into uni :0)

Good luck anyway...
Fri 28/11/03 at 15:42
Regular
"Pouch Ape"
Posts: 14,499
I think if you type "help", it gives you a list of commands.

Have you tried using the "copy" function and doing it individually?
Fri 28/11/03 at 13:57
Regular
"smile, it's free"
Posts: 6,460
Yup. I've also considered not being a lazy git, and walking the ten minutes into the department, but I'd still like to know how to get the command working :)
Fri 28/11/03 at 13:44
Regular
"bing bang bong"
Posts: 3,040
Have you not considered using a GUI ftp client such as smartftp, which supports drag and drop?
Fri 28/11/03 at 11:45
Regular
"smile, it's free"
Posts: 6,460
I'm here, in my room, on a Windows XP box. The files I want are in the department, on a linux machine.

I've FTP'd in remotely, but I can't find a command which will get me all the files.

The files I need aren't all in the same directory.... there is a root folder called 'ProjectB', containing fifteen subfolders. Each of those subfolders in turn contains ten more subfolders, each of which contains six files with the extension .rec which I need. So you can see why I don't want to do this one folder at a time :)

The relevant commands we have available from FTP include recv, mget and get. (Of which, I think get and recv are exactly the same)

Now, I'm sure there is some way to recursively get every file in every subdiretory with one command, but I can't figure out how.

I've tried
mget -R *.*
mget -R *.rec
(both from inside the root folder)
but this seems to attempt to recognise folders as files, and therefore doesn't look inside them. (I get 'mget [foldername]' at the prompt, and if I choose yes, I'm told it's not a plain file)

The get command on the other hand, seems not to recognise the -R option...



Anyone have any ideas? I'm stumped.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Unrivalled services
Freeola has to be one of, if not the best, ISP around as the services they offer seem unrivalled.
Easy and free service!
I think it's fab that you provide an easy-to-follow service, and even better that it's free...!
Cerrie

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.