meganz / MEGAcmd

Command Line Interactive and Scriptable Application to access MEGA
Other
1.89k stars 406 forks source link

Generating URL webdav #956

Open tanscha21 opened 3 months ago

tanscha21 commented 3 months ago

Unfortunately the command "webdav /path/mega/folder" doesnt work, no matter how I rename "folder" it will say "path not found"

Can anyone help? That would be amazing.

Thanks, T

polmr commented 2 months ago

/path/mega/folder need to be the path in your MEGA account:

The same one as the one displayed by ls or mega-ls if you are using the non interactive mode:

Perhaps if you give us an example of the exact command used and a listing (ls -l) we can help you identify what is the problem you are facing.

Btw, beware of spaces in the name or the path. The'd need escaping or surrounding the path with quotes