java-sdk
java-sdk copied to clipboard
2 Poinits: 1 - Inputstream not close, 2 - Chinese file name not support
Description: 1. Please close the inputstream when the file uploaded Now I need upload the file onto the app server directory for temporarily, then upload to upyun. So we have a scheduled job to clean the temporary files on the app server. If the inputstream of the uploaded file has not been closed, we couldn't delete it except we stop the app what we don't hope this happen.
2. Please support Chinese file name When we upload the file which named by chinese, it will promt the messages below.
com.upyun.UpException: {"msg":"signature error","code":40100005,"id":"a0da1d010e78e4ad456abca06434719e"}