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

How to upload a local directory to an apache webserver using macosx terminal?

Hello,
I am logging into my apache webserver from macosx using terminal. I want to upload a local directory on my mac machine to the webserver....how would I do that (including recursive)?

Thanks in advance, Deja.
0
Dejavous
Asked:
Dejavous
1 Solution
 
lamaslanyCommented:
To confirm:  does the Apache server support FTP or WebDAV?
0
 
objectsCommented:
scp would be the easiest

scp -r /directory/to/upload webserverHost:/where/to/upload/to
0
 
DejavousAuthor Commented:
Thank you very much!
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

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