Solved

How to PUT whole directory via linux.

Posted on 2007-11-14
4
674 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
Comment Utility
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
Comment Utility
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
Comment Utility
Forced accept.

Computer101
EE Admin
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video discusses moving either the default database or any database to a new volume.

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now