[repo] improvement for 'file upload'
[repo] fixed file/dir 'select' bug