Error when uploading large file from command line

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Simonl
Posts: 2
Joined: Tue Aug 12, 2014 5:35 am

Error when uploading large file from command line

Post by Simonl » Tue Aug 12, 2014 5:45 am

Hi!

So i'm trying to upload a 30-40MB file from the command line where i get an error (see below). It works however when i'm commiting it from the GUI client and have the chuncked encoding option on. Is there any way to make it work from the command line as well?

Code: Select all

<!--    Add xxyyzz.pdf-->
  <!--    Upload for item xxyyzz.pdf failed, retrying...-->
  <!--    Upload for item xxyyzz.pdf failed, retrying...-->
  <!--    Upload for item xxyyzz.pdf failed, retrying...-->
  <!--Upload for itemxxyyzz.pdf failed too many times, aborting transaction.  
        Please verify your network settings using the Options dialog under the Tools menu in the Vault GUI Client.  
        The specific error was "The server had an error processing the file upload but did not return an error header.  The remote server returned an error: (404) Not Found."
An exception was encountered during the transaction.  Exception: The server had an error processing the file upload but did not return an error header.  The remote server returned an error: (404) Not Found.   at VaultClientOperationsLib.ClientInstance.UploadItem(ChangeSetItem item, String txID, Byte[]& streamBuffer, Int32& bytesWrittenThisFile, Boolean bIsImport)
   at VaultClientOperationsLib.UploadThread.ProcessCommand(UploadThreadCommand command, UploadThreadCommandResult& outputResult)-->
  <!--Ending the transaction-->
  <!--Transaction failed-->
  <!--Transaction failed-->
  <error>
    <exception>System.Exception: Commit failed.


Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Error when uploading large file from command line

Post by Beth » Tue Aug 12, 2014 8:39 am

I currently have a work item 15913 scheduled for that functionality. I have added your "vote" to it.

F: 15913
Beth Kieler
SourceGear Technical Support

Simonl
Posts: 2
Joined: Tue Aug 12, 2014 5:35 am

Re: Error when uploading large file from command line

Post by Simonl » Thu Aug 14, 2014 1:10 am

Okey i see. Thanks for the reply!

Post Reply