The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Uploading HTML File to a Domain by XML/cPanel API

Discussion in 'General Discussion' started by mizanurl, Nov 16, 2009.

  1. mizanurl

    mizanurl Registered

    Joined:
    Nov 16, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I'm a newbiew in using XML/cPanel API. I need to upload an HTML file from my local machine to a VPS domian using cPanel or XML API. Can anybody help me at this point. By digging the documentations, I got the following:

    <?cp Fileman::fileop(% % % %,result,^src,^dest,^err) ?>

    But I want to use XML API for PHP or the staff like https://HyHostingServer:2087/xml-api/cpanel?user=myuser&xmlin=<cpanelaction>....</cpanelaction>

    Or write xmlapi_query() from XML API. Can anybody help me? Or is there any other solution besides what I've talked about?
     
Loading...

Share This Page