Thanks
** Create the West Wind Internet Protocol. oHTTP = CREATEOBJECT("wwHTTP") *** Set mode to multi-part form - Required for file uploads. oHTTP.nHttpPostMode = 2 *** Connection timeout for Connection, Send and Read operations *** if any take longer than the number of seconds here operation will abort *** Default is 30 oHTTP.nconnecttimeout = 900 lnResult = oHTTP.httpconnect(tcServer, + ; IIF(EMPTY(tcUserName_MITS), tcUserName, tcUserName_MITS), + ; IIF(EMPTY(tcPassWord_MITS), tcPassword, tcPassWord_MITS), .T.) && Connect to the server. *** Setup post. oHttp.AddPostKey("username", tcUserName) oHttp.AddPostKey("password", tcPassword) oHttp.AddPostKey("userfile", tcFile, .T.) oHttp.AddPostKey("webexport", tcFile1) oHttp.AddPostKey("ratefile", tcFile2) *** Send the POST data - Send a file. lnResult = oHTTP.HTTPGetEx(tcWebServerLink, @lcHTML, @lnSize)