chunked uploading for local server type