KevinX3

Registered
Feb 14, 2020
1
0
1
Australia
cPanel Access Level
Website Owner
Hi,

We have setup WebDisk and it works fine accessing through Finder. Since I need to automate the uploading of some application update software, I need the WebDisk to be accessible from the command line, essentially from a script, but simply from the command line.

Background:

WebDisk appears to show up at /Volumes/myservernamehere.com, but if I try to cd into that directory from the command line, list it, or copy files in or out, I get immediate "operation timed out" errors.

Questions:

When using WebDisk, is it possible to access the directory from the command line?

And, if so, how do I achieve this?

Thanks,
Kevin
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
9,366
799
263
Houston
Hello,

To be completely honest, I'm not sure I understand why you'd want to use webdisk for this purpose, why not use SSH or the Terminal UI offered within cPanel? Unless it's that the provider doesn't allow this.

In that case, you could do this with cURL or you might check out the following: Install a command-line WebDAV client - Mac OS X Hints I don't know how reliable it is but it may be a possibility

There's also the following: How to mount WebDav filesystem on Mac?