How to access davs://****.prod.phx3.secureserver.net:2078/ from the terminal (path?).
I want to access the davs://** location from a shell script. I want copy files from my local drive to my website with a shell scrpt. I can drag and drop by way of the file manager, but a script needs the exact path. The location indicated by the file manager is davs://****.prod.phx3.secureserver.net:2078/ (astrix keeps it private for me). The above lacation is my godaddy site. The above location seems to be a mounted volume. On my PC, I am able to map to this location, and so it ends up as Z: It would be very handy to be able to map to the above location on my Linux box.
|
Just use the mount command and mount the dav to a folder with davfs, you will probably need to install a few bits of software, fuser, davfs etc depends on your distro, I use davfs to mount stuff from my tablet to my desktop, then its just like any other folder, I'm away from my pc at the moment so I can't give you the exact command to use for mounting davfs but a little googling should do tne trick.
|
I installed davfs2 a few bits etc. googled. Now I can not even access davs://****.prod.phx3.secureserver.net:2078/ from the file manager anymore. There's a good reason why I identified myself as a newbie. I'm surprised there isn't a definitive "cookbook" style answer.
It seems /etc/fstab wants a url with https://... I'm trying to mount an object that starts with davs:// |
No don't put it in your fstab unless you know what you are doing and you need to have permanent access to the share.
The command to mount a webdav share is: Code:
mkdir /tmp/davshare Code:
ls /tmp/davshare Code:
sudo umount /tmp/davshare You will probably have to belong to the davfs2 group Be aware webdeavs are not particularly fast so putting it in the fstab may cause startup/shutdown delays. NEVER muck about with your fstab until you are sure of the settings to use and that they work, also BEFORE changing any system files like fstab make a backup and be sure you have an alternate boot method in case something goes really wrong so that you can undo any changes you may have made. |
Looks promising
The only issue I have now is the exact URL that I should use. the mount command will entertain any request with a URL starting in http://..... The only handle I have to the volume I want to mount , starts with davs://.... ends with :2078. I want to mount the files for my godaddy site: http://GLT.xyz/
Please advise. Cheers! I have loaded an object to my Desktop from the cPanel (godaddy) that "seems" to mount the file system and make it available in the file manager (drag and drop works fine). This volume is called davs://.... ends with :2078, which does not show up with $ mount, which shows all mounted objects. And so, it's not really "mounted" and I have no path to access it with a shell script. |
Got it!
I got a true URL by going to the cPanel. I plugged it in and I'm in business. Thanks for holding my hand.
|
Please mark the thread a solved, to help others searching the forum find a solution
|
All times are GMT -5. The time now is 12:35 AM. |