• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 687
  • Last Modified:

How to PUT whole directory via linux.

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
jags2ooo
Asked:
jags2ooo
1 Solution
 
ravenplCommented:
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
 
arrkerr1024Commented:
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
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now