Help - Search - Members - Calendar
Full Version: Linux Ftp
Linuxhelp > Support > Technical Support
Rio
Perhaps I'm missing something simple, but I can't figure out how to transfer multiple files into the directory of my choice.

All examples I've found show something like mget *.*, or get filename /directory/newfilename, but nothing shows me how to transfer multiple files into a specific directory.

If anyone could help me out, I'd appreciate it. Thanks.
shuttleX
if i understand you correctly

to move multiple files

mv * directory

will move all files from the current directory to the one specified.

cp * directory

will copy the files there.

Now you can do different combinations using the *.
one example is:

cp *ing directory

this copies ever file ending in "ing" to the directory

so the *.* will only transfer files that have a "." in them such as file.dat
in otherwords... no "." no transfer!
Rio
Actually, I found what my problem was.

I needed to use the ! to execute commands on the local machine, except for 'cd' which is appearantly 'lcd' to change the directory on the local machine.

After I do this, I can do the mget *.* and it drops everything into the directory of my choosing.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.