How to forward the GraphQL file without saving it first to a /upload folder
Hello, please help with this question.
I am using GraphQL for file upload and in my resolver I am forwarding it to another server. The receiving server checks the files contents and if there is already the same file it rejects the upload. This works OK most of the time but large files get broken up in 2( don't know why) and the receiving server treats the upload as 2 separate files.

Here is the resolver


```js
async uploadFile ({files }) {                                                                                              
   const form = new FormData() 
                                                         
   return Promise.all(                                                                            
     files.map(async file => {                                                                    
       const { filename, createReadStream } = await file                                     
       const stream = createReadStream()                                                          
       let data     
                                                                                                                                            
       return new Promise((resolve, reject) => {                                                  
         stream.on('data', chunk => {                                                             
           data = chunk                                                                           
         })                                                                                                                                                                                     
         stream.on('end', () => {                                                   
           const formData = form.append('files', data, {                                          
             contentType: 'multipart/form-data',                                                  
             filename: filename                                                              
           })                                                                                     
           resolve(formData)                                                        
         })                                                                               
         stream.on('error', err => {                                                  
           reject(err)                                                                            
         })                                                                                       
       })                                                                                         
     })                                                                                           
   )                                                                                              
     .then(() => 
     // make a POST to another server                                                                                            
     )                                                                                            
     .catch(err => {                                                                              
       throw new Error(err)                                                                       
     })                                                                                           
 }
```

However if I first save the file to a local /upload folder as in your example and then read the file and forward it, everything is fine.
Like so

```js
       const { filename, createReadStream } = await file                                           
       const stream = createReadStream()                                           
       //SAVE THE FILE to upload directory
       
       //READ THE FILE from the upload directory
       const filePath = `/uploads/file.csv`;           
       const stats = fs.statSync(filePath);                                             
       const fileSizeInBytes = stats.size;                                                         
       const fileStream = fs.createReadStream(filePath);                           
                                                                          
       const formData = form.append('files', fileStream, {                                           
         contentType: 'multipart/form-data',                                                   
         filename: filename,                                                                   
         knownLength: size                                                                     
       })     
                                                                                                                                        
      return  someService.postFile(                                                 
         `someEndpoint`,                        
         form,                                                                     
         { ...form.getHeaders() }                                                                                                              
       )
```

Ideally I am trying to forward the file without having to first save it to /uploads. Is there a way to do that?

Thank you!