mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Rackspace/examples; cloudfiles directory is set to public, therefore file is accessible.
This commit is contained in:
parent
612e33ac17
commit
0e2ec888c1
1 changed files with 1 additions and 1 deletions
|
@ -40,6 +40,6 @@ directory = service.directories.create :key => directory_name, :public => true
|
|||
upload_file = File.join(File.dirname(__FILE__), "lorem.txt")
|
||||
file = directory.files.create :key => 'sample.txt', :body => File.open(upload_file, "r")
|
||||
|
||||
puts "You should not be able to view this file via CDN at #{file.public_url}"
|
||||
puts "You should be able to view this file via CDN at #{file.public_url}"
|
||||
puts "To delete the container and associated file please execute the delete_directory.rb script\n\n"
|
||||
|
||||
|
|
Loading…
Reference in a new issue