• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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