Hello this is my second post in this sequence...as im unable to Post the form variable in KIOS's http_post call my code look like following: m_urlHost = KURL(); m_urlHost.setProtocol("http"); m_urlHost.setHost("myserver.com"); m_urlHost.setPath("/test.php"); m_PostData = "txtname='SAK'"; // form varialble to post QByteArray postByteData; postByteData.setRawData(m_PostData, m_PostData.length() ); m_httpPostJob = KIO::http_post( m_urlHost, postByteData, false ); // return * KIO::Transfer m_httpPos...
With the Help of KIO and KURL i would like to upload a text file for HTTP.... can any1 pls locate me the example code... PS: (i have used http_post successfull that post the values of text fields but the value of File field is left to be uploaded or posted ) Regards Sheraz