• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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