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

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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