Skip to content

Commit

Permalink
Update to show round trip (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
markjschreiber authored Nov 6, 2023
1 parent 6658d02 commit 9b3d471
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,10 @@ public static void main(String[] args) throws IOException {

// Remove the copy option to prevent replacement of an existing file.
Files.copy(tempFile, s3Path, StandardCopyOption.REPLACE_EXISTING);


// Copy to a local temp file.
final Path tempFile2 = Paths.get(URI.create("file:///tmp/temp2.tmp"));
Files.copy(s3Path, tempFile2);
}
}

0 comments on commit 9b3d471

Please sign in to comment.