HttpURLConnection! Connection.getInputStream is java.io.FileNotFoundException
- by user3643283
I created a method "UPLPAD2" to upload file to server. Splitting my file to packets(10MB). It's OK (100%). But when i call getInputStream, i get FileNotFoundException. I think, in loop, i make new HttpURLConnection to set "setRequestProperty". This is a problem.
Here's my code:
@SuppressLint("NewApi")
public int upload2(URL url, String…