you can pass filename as part of multipart/form-data by adding it to Content-Disposition header:
filename