1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-06 02:23:24 +00:00

jottacloud: return direct download link from rclone link command

If the shared path is a directory, then the download will be a zip archive.

Fixes #5391

See #5399
This commit is contained in:
albertony
2021-06-10 19:44:11 +02:00
parent 78db3dba0e
commit b868561951
2 changed files with 14 additions and 5 deletions

View File

@@ -368,6 +368,7 @@ type JottaFile struct {
XMLName xml.Name
Name string `xml:"name,attr"`
Deleted Flag `xml:"deleted,attr"`
PublicURI string `xml:"publicURI"`
PublicSharePath string `xml:"publicSharePath"`
State string `xml:"currentRevision>state"`
CreatedAt Time `xml:"currentRevision>created"`