mirror of
https://github.com/rclone/rclone.git
synced 2025-04-16 16:18:52 +08:00
http: update remote implementation, take remote from contentDispositionFilename if it is existing
This commit is contained in:
parent
26c6702913
commit
1d3650feff
@ -608,6 +608,9 @@ func (o *Object) String() string {
|
||||
|
||||
// Remote the name of the remote HTTP file, relative to the fs root
|
||||
func (o *Object) Remote() string {
|
||||
if o.contentDispositionFilename != nil {
|
||||
return *o.contentDispositionFilename
|
||||
}
|
||||
return o.remote
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user