• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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