• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 685
  • 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

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

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