• 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

Automate downloading of web log

J

JimmyT

Guest
Hello,
Not sure if this is the right place to post this question... but here goes.
I have an account with a hosting company, and as a client I use Parallels Plesk 9.0 to control my account.

I've been trying to download the current web log using FTP, but most of the time I get an error saying "550 The process cannot access the file because it is being used by another process". The web server is IIS7, and the provider tried to toggle this setting for me http://www.channelprosmb.com/blog/e...r-March-from-the-Partner-managed-newsgroups./ , but it didn't make a difference, I'm still getting that 550 error.

There is never any issue downloading the current web log using Parallels plesk, so I was hoping to write a small c# program to download the file by automating parallels plesk, instead of using ftp. I found some API docs at http://download1.parallels.com/Plesk/PPP9/Doc/en-US/plesk-9.0-api-rpc/index.htm?fileName=40504.htm that describe how to set the log rotation settings programatically, but I can't find anywhere how to download a log file programatically. Is that possible? How?

Thanks!
Jimmy
 
Back
Top