If you are automating this process, you can create the ZIP directly from code without creating a temporary text file on disk:
To create a file named containing text data, you can use various methods depending on your operating system or technical preference. Quick Local Methods Windows :
: Upload a .txt file and convert it directly to a .zip .