andrewgaul commented on this pull request.


> @@ -679,7 +679,7 @@ public void downloadBlob(String container, String name, 
> File destination, Execut
 
       ListeningExecutorService listeningExecutor = 
MoreExecutors.listeningDecorator(executor);
       RandomAccessFile raf = null;
-      File tempFile = new File(destination.getName() + "." + 
UUID.randomUUID());
+      File tempFile = new File(destination + "." + UUID.randomUUID());

Given "/tmp/foo" `getName` returns "foo", ensuring the file will be relative to 
wherever the user launched the jclouds application.  With this change jclouds 
will create the temporary file in the same directory as the user specified.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1035

Reply via email to