Is this from a VFP app?
Yes you can upload files with the wwHTTP class. It takes only a few lines of code:
oHTTP = CREATEOBJECT("wwHTTP")
oHTTP.nHttpPostMode = 2
oHttp.AddPostKey("File","d:\temp\wws_invoice.pdf",.T.)
oHttp.AddPostKey("txtFileNotes","test note")
lcHTML = oHTTP.HTTPGet("http://localhost/wconnect/FileUpload.wwd")
ShowHTML(lcHTML)
This code is equivalent to posting a multi-part form with a file upload button in the Web browser.
+++ Rick ---
>I have a client that has a problem with upload attachements.
>FTP or SMTP os not an option
>
>Here was my thought....
>
>Build a URL and Pass the information such as eMailTo and From and subject and the File Name and Directory.
>
>Then like in a Web eMail Browser you can attach files and they are uploaded. This works through a router so I should not have problems wih it.
>
>The Web Designer uses cold fusion so I can pass the information to him but to get the file to upload he needs this sent
>
>enctype="multipart/form-data"
>
>and he cant get it to work.
>
>My thought was to do it in html pass the parameters and then somehow click attach/send button via WW tools.
>
>So my question is is it possible to click the button with the West Wind Client tools?
>
>TIA,