• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question What kind of script for FTP and where to save the file.

CobraArbok

Regular Pleskian
I have an Ubuntu VPS with Plesk.
I have on another server a TAR.GZ file with a list of entries.
I want to create a small script that every day (with CRON) downloads this file via FTP, places it in a folder, unzips it and then deletes it. The goal is to make the contents of that folder accessible via HTTP.
I wonder what kind of script to create (Python?).

Secondly, where to place this folder without creating security problems for me.

Alternatively, I could run the script on my VPS to download this file, but instead save it to a space in hosting on an ISP. In this case I won't have any security problems, but I will have to read the FTP file and do the SFTP upload.

Finally, what tools can I use from the already available script without having to install anything else?

Many thanks in advance for any advice.
 
Back
Top