You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/09/09 08:04:17 UTC

[GitHub] [cordova-plugin-file-transfer] WIlson-shuoshuoya opened a new issue #241: upload error code 3 "Software caused connection abort"

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org