• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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