Advertisement
Guest User

Untitled

a guest
Sep 30th, 2014
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. client.makeCopyReference('/d.txt', function (error, copyref) {
  2. if (error) {
  3. return handleError(error); // Handle the error.
  4. }
  5.  
  6. client.copy(copyref, '/test_folder/kamret.txt', function (error, stat) {
  7. if (error) {
  8. return handleError(error); // An error is thrown here!
  9. }
  10.  
  11. $('#resultBox').html(stat.name + " is succesfully copied!");
  12. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement