Solved

How to PUT whole directory via linux.

Posted on 2007-11-14
4
677 Views
Last Modified: 2013-12-06
Hi, i'm currently using linux command line and need to upload a whole directory.

Each time i use the command .   Put /var/www/html/web12/    i get a error stating " not a plain file"

0
Comment
Question by:jags2ooo
4 Comments
 
LVL 43

Accepted Solution

by:
ravenpl earned 200 total points
ID: 20283705
You mean via ftp?
You can't transfer directory via ftp, only multiple files like
mkdir web12
cd web12
lcd /var/www/html/web12/
prompt
mput *
0
 
LVL 14

Expert Comment

by:arrkerr1024
ID: 20292551
If the remote machine also runs ssh then you can use scp to transfer the files:  "scp -Cpr /var/www/html/web12/ /remote_location".
0
 
LVL 1

Expert Comment

by:Computer101
ID: 21198012
Forced accept.

Computer101
EE Admin
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question