Browse Source

filer: upload also set file size

ensure works same as fuse mount
pull/1502/head
Chris Lu 4 years ago
parent
commit
41be7a4c8f
  1. 1
      weed/server/filer_server_handlers_write_autochunk.go

1
weed/server/filer_server_handlers_write_autochunk.go

@ -167,6 +167,7 @@ func (fs *FilerServer) saveMetaData(ctx context.Context, r *http.Request, fileNa
TtlSec: ttlSec,
Mime: contentType,
Md5: md5bytes,
FileSize: uint64(chunkOffset),
},
Chunks: fileChunks,
}

Loading…
Cancel
Save