1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Automate downloading of web log

Discussion in 'Plesk 9.x for Windows Suggestions and Feedback' started by JimmyT, Jul 28, 2009.

  1. JimmyT

    JimmyT Guest

    0
     
    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
     
Loading...