wget -O filename.png "http://some.url/folder/some_image.png"
And to upload the same file using Capistrano:
task :something do
put File.read("filename.png"), "#{deploy_to}/remote_filename.png"
end
Loading...
wget -O filename.png "http://some.url/folder/some_image.png"
And to upload the same file using Capistrano:
task :something do
put File.read("filename.png"), "#{deploy_to}/remote_filename.png"
end
Comments are closed.
Matthew Bass is powered by WordPress | Using Tiga theme with a bit of Ozh + WP 2.2 / 2.3 Tiga Upgrade