WIlson-shuoshuoya opened a new issue #241:  upload error code 3 "Software 
caused connection abort"
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/241
 
 
   I did a circular upload of photos to request the server, but in the middle 
of the circle there were the following mistakes "Software caused connection 
abort", which left me at a loss.
   Here is a code I uploaded.
   `  let tempOptions: FileUploadOptions = {
                   fileKey: 'file',
                   fileName: photoDto.PhotoName,
                   params: { type: photoType.ThumbPhoto, paramInfo: 
JSON.stringify(uploadPhotoDto) },
                   chunkedMode: false
                 }
                 tempOptions.headers = {
                   Connection: "close"
                 }
                 this.fileTransfer.upload(this.file.externalDataDirectory + 
photoDto.PhotoTempPath + photoDto.PhotoName, url, tempOptions, true).then(res 
=> {
   })
   `
   
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to