this isnt sending a file but shows in vbscript how to send a post to a website form .. im used to using GET myself but same idea .. if you had access to the remote server it would make it much easier to upload the file .. but it is doable either way.
Also see this link ..
http://www.motobit.com/tips/detpg_uploadvbsie/
Code:Option Explicit Dim strURL Dim objHttp On Error Resume Next strURL = "http://www.myurl.com/url-to-web-server.asp?id=thomashess" Set objHttp = WScript.CreateObject("Microsoft.XMLHTTP") objHttp.Open "POST", strURL, False objHttp.Send "" Set objHttp = Nothing If Err = 0 Then MsgBox "Data Sent" Else MsgBox "Error" & vbCrLf & Err.Description End If




Reply With Quote