/root/mydir/input.zip
It is the path to the file on the sftp server
you need to unzip it, read what contain inside. May be zip GUI sample project your best companion for this.