[filebrowser] add upload support, no-gui part