lib/fog/openstack/docs/storage.md in fog-1.27.0 vs lib/fog/openstack/docs/storage.md in fog-1.28.0
- old
+ new
@@ -334,11 +334,11 @@
```ruby
SEGMENT_LIMIT = 5368709119.0 # 5GB -1
BUFFER_SIZE = 1024 * 1024 # 1MB
- File.open(file_name) do |f|
+ File.open(file_name) do |file|
segment = 0
until file.eof?
segment += 1
offset = 0
@@ -356,15 +356,9 @@
end
end
# write manifest file
service.put_object_manifest("my_container", "large_file", 'X-Object-Manifest' => "my_container/large_file/")
-
- # write manifest file
- service.put_object_manifest("my_container", "large_file", 'X-Object-Manifest' => "my_container/large_file/")
-
- # write manifest file
- service.put_object_manifest("my_container", "large_file", 'X-Object-Manifest' => "my_container/large_file/")
```
Segmented files are downloaded like ordinary files. See [Download Files](#download-files) section for more information.
## Download Files