Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

Box Powershell - Move Folder timeout

New post

Comments

3 comments

  • bdudley

    Bump?

     

    Anyone else experience timeouts when trying to move a root folder that contains a lot of data?

    0
    Comment actions Permalink
  • bibek_k

    1 thing: can you verify that even the timeout occured, the contents got transferred or not?

    Another thing is you can add timeout in the command and try again. 

     

    Invoke-RestMethod -Uri "whatever" -TimeoutSec 240

    Well, you may not be able to guess how long it would take but usually it doesn't take more than 5 mins even if contents are huge. Internally box is only updating the owner emails -  not exactly transferring the whole content. 

     

    thanks,

    Bibek

     

     
    0
    Comment actions Permalink
  • bdudley

    Thanks for the reply... I did verify that all files are being transferred.

     

    I also tried adding a timeout to the invoke-webrequest command it didn't seem to help. Further looking at that timeout parameter... it's related to resolving the hostname and not the webrequest itself... 


    It seems that this is definitely just an issue with Powershell and not the API. I'll keep digging to see what I can find.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.