title: Is there any way to upload doc, pdf files through Alamofire?
body: <p>I have gone through many post but couldn't satisfied, currently I'm using <code>File Explorer Framework</code> and its working fine, but when I select a file (File can be pdf, docs or any text file), then how would I Upload that file in a server?</p>
  
  <pre><code>let fileExplorer = FileExplorerViewController()
  fileExplorer.canChooseFiles = true //specify whether user is allowed to choose files
  fileExplorer.canChooseDirectories = false //specify whether user is allowed to choose directories
  fileExplorer.allowsMultipleSelection = true //specify whether user is allowed to choose multiple files and/or directories
  fileExplorer.delegate = self
  
  self.present(fileExplorer, animated: true, completion: nil)
  </code></pre>
  
  <p>and its delegate method</p>
  
  <pre><code>public func fileExplorerViewController(_ controller: FileExplorerViewController, didChooseURLs urls: [URL]) {
      //Your code here
  }
  </code></pre>
  
  <p>now how do I upload the file by getting the file url from the delegate method ?</p>
  
  <p>Any help will be appreciated.</p>
  
  <p>Thanks</p>