G grafsoft Well-Known Member Licensed User Longtime User Nov 28, 2015 #1 Hi, I am trying to upload a large file with an OkHttpClient, using multipartpost.php on the server: With smaller files it works fine, but with larger files I get "InterruptedIOException: timeout". The PHP-file says B4X: ini_set('max_execution_time', 36000); set_time_limit(36000); ini_set('post_max_size','200M'); ini_set('upload_max_filesize','200M'); ini_set('max_input_time','-1'); ini_set('memory_limit','200M'); ... Is the reason on the client or the server side? I get the timeout after approx. 1 minute.
Hi, I am trying to upload a large file with an OkHttpClient, using multipartpost.php on the server: With smaller files it works fine, but with larger files I get "InterruptedIOException: timeout". The PHP-file says B4X: ini_set('max_execution_time', 36000); set_time_limit(36000); ini_set('post_max_size','200M'); ini_set('upload_max_filesize','200M'); ini_set('max_input_time','-1'); ini_set('memory_limit','200M'); ... Is the reason on the client or the server side? I get the timeout after approx. 1 minute.
DonManfred Expert Licensed User Longtime User Nov 28, 2015 #2 You are uploading to a php file? Most probably it is the server side Upvote 0