upload ioctl