i tried using WebDAV for a time, but it did not seem very reliable. instead i started using iDrive idevsutil which works great.
unfortunately, for some bizarre reason, iDrive is phasing out idevsutil in favor of a new perl based one. and the new one does NOT take command-line switches. its easy enough to modify the perl scripts to allow for the switches, but why should we? i have told them many times to put the damn perl scripts on github and let the community maintain them.
also, some of the new(er) iDrive accounts don’t let you rename files, move directories, etc. but for the bang for the buck on pricing, and the linux, support, iDrive is hard to beat.