Skip to main content

"Could not upload file" error message while uploading folder

  • September 20, 2023
  • 1 reply
  • 303 views

Hi,

When using the following command line:


box folders:upload --parent-folder=xxxxxx [folder_to_upload]


I am getting error messages “Could not upload file” not related to the size of the file. Sometimes these are .txt extensions but it can happen as well with other extensions such as .log, .json, these are usually small files of a few k.


Is it possible to know why the files cannot be uploaded and is there a option to skip this error and continue the upload of the folder? the annoying bit is that the data transfer stops after this error.


Thanks,

Sol

1 reply

CodeBoxSeb
  • Participating Frequently
  • 58 replies
  • September 21, 2023

Welcome to the forum @user88 😀


Did you try to add the verbose command ? Maybe it will display reasons why the file has not been uploaded.


--verbose 


Did you check the path ? (Forbiddent characters, path length…) ?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings