• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Question XML API <upload> to place files on websites?

HostaHost

Regular Pleskian
Server operating system version
Ubuntu 20LTS
Plesk version and microupdate number
18.x latest
Hi all, curious if the Plesk API 'upload' function can be used to place files on given websites by way of full path or other flags? Trying to figure out if we can perform SSL renewals which require placement of a DV file using just the API, so placement in the server's /var/www/vhosts/htdocs/ won't work.
 
From the looks of the examples found here shows it's uploading to a location that's not /var/www so from the looks of it, using the API you could upload anything to anywhere on the file system. You would need to do a test to confirm though but if I'm reading the document correctly, you could use the API to place the files wherever.
 
Very interesting, thanks; I'd only noticed the other part of that article talking about using it to place site application packages and missed the example showing arbitrary files. I'll give it a shot.
 
Back
Top