Esxi FTP via sh
1] activate ssh on your esxi
2] download ncftp linux files at adress
ncftp binariesfrom windows:
copy past the url into your web browserupload bin files to your esxi using SFTP option on a ftp client (SFTP is included in ssh)
from esxi
temporary disable firewall copy to clipboardesxcli network firewall set --enable false
get ncftp files copy to clipboard
wget {Archive.tgz}
create a folder where tar will be extract copy to clipboard
mkdir {TargetFolder}
extract them copy to clipboard
tar -C {TargetFolder} -xvzf {Archive.tgz}
once extracted you can move the bin folder to where you want
3] in esxi ssh go to the bin folder, find ncftpput (the nftp command to upload file) and add execute rights
copy to clipboardchmod +x ncftpput
4] disable temporary firewall (due to passive mode)
copy to clipboardesxcli network firewall set --enable false
5] upload your file !
copy to clipboard./bin/ncftpput -u {user} -p {pass} -v -z -t 5 -E -P 21 {server} {serverPath} {localFilePath} -v = use progress meter (not really usefull) -z = resume mode -t = timeout in secondes -E = passive mode (-F for active mode) -P = port if you dont use passive mode, u can disable only ftppart of the firewall with the command: esxcli network firewall ruleset set -r ftpClient -e true
6] enable firewall
once done, set back on your firewall copy to clipboardesxcli network firewall set --enable true