[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now


How to PUT whole directory via linux.

Posted on 2007-11-14
Medium Priority
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"

Question by:jags2ooo
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 43

Accepted Solution

ravenpl earned 800 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/
mput *
LVL 14

Expert Comment

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".

Expert Comment

ID: 21198012
Forced accept.

EE Admin

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Users are often faced with high disk consumption without really knowing where the largest amount of data resides. Disk Usage Analyzer (aka Baobab) is is a graphical, menu-driven application to analyse disk usage in any Gnome environment and can e…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

649 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