Upload the Entire Directory to an FTP server with curl
A while ago I'm working on a project which involves Citrix NetScaler. The Client is required to automate the configuration and back up files to an internal FTP server. Citrix NetScaler cannot regularly upload the backup files to an external store (when no additional software is used). Hence, I decided to write a simple shell script and use curl to upload the entire directory to the FTP server. The script can be used in any Linux machine (or even Windows with WSL) with curl installed.