EmirH: added upload support