Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Am trying to do something very simple but can't seem to work out how. Basically, I want to copy the directory /home/sites/site35/ which is on a remote Linux server to my local PC. I can't connect via a normal FTP programme because the Apache server is down, so I have to shell in (nightmare!!).
This is what I've managed so far. Using the programme Putty, I've opened a connection to the server, logged in as admin. Then I do CD /home/sites/site35/. Ok, so now I'm in the right directory, how do I copy it and all the files in it to my local Windows PC? Is there a simple command to download?
Would appreciate help as I can't make a head or tail of Linux.
Thanks for your reply but unfortunately it does not help me solve my immediate problem. I know it can be done because my brother rescued a couple of other directories for me but he's now on holiday so I can't ask him how he did it. Alternatively, is there a way where I can:
a) create a zip file containing all the files in the /home/sites/site35/ directory
b) send that file to another remote linux server (i.e. our new web server) for which I have an FTP login and password.
I can then connect to that other server through a regular FTP programme and download the file from there.
How would I set about doing that? Any suggestions?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.