1
0
Fork 0
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:
Jonathon Scanes 2014-01-14 18:14:42 +10:00
parent 612e33ac17
commit 0e2ec888c1

View file

@ -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"