From a1c6f7f372c52a7d16125459a42b97c0e012c36f Mon Sep 17 00:00:00 2001 From: "G. Gibson" Date: Fri, 22 Apr 2022 10:03:19 -0700 Subject: [PATCH] Testing --- Services/www/www/gxg-www.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Services/www/www/gxg-www.rb b/Services/www/www/gxg-www.rb index 77ab181..8044121 100644 --- a/Services/www/www/gxg-www.rb +++ b/Services/www/www/gxg-www.rb @@ -1190,6 +1190,7 @@ module GxGwww def download_file(details={}) # {:path => "/path/to/object"} response = [404, {"content-type" => "application/json"}, ({:result => false, :error => "Object Not Found."}).to_json()] + puts "Download Got: #{details.inspect}" begin # temp_dir = "/Temporary/#{::GxG::uuid_generate().to_s}" @@ -1208,6 +1209,7 @@ module GxGwww details[:path] = ("/Public/www/" << details[:path].to_s).gsub("//","/") end # + puts "Download Path: #{details.inspect}" # temp_file = "#{temp_dir}/#{File.basename((details[:path] || 'Untitled').to_s)}" if GxG::SERVICES[:core][:resources].exist?(details[:path]) profile = GxG::SERVICES[:core][:resources].profile(details[:path], @credential)