Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: Web Tool Connectivity Problem
emcgrath
emcgrath@ups.com

From: New York, NY USA
Posts: 5
Member Since: 04/26/05
posted April 27, 2005 8:10 AM

Hi,

I am trying to post a file to a https URL using the Dart Web Tool and keep getting back a "No files sent." message in the Result variable.

Ex:
Http1.Url = "https://secure.adotc.com/index.php/upsupload/"
 FileName = "c:\test.txt"
 Http1.Post FileName, , response

response always is "No files sent." Any ideas?

Thanx,

Ed.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 27, 2005 9:54 AM

This would be kind of hard to troubleshoot without access to the actual page.

If you are not able to resolve this, please send details needed to access your site to support@dart.com
emcgrath
emcgrath@ups.com

From: New York, NY USA
Posts: 5
Member Since: 04/26/05
posted April 27, 2005 1:44 PM

The actual URL is:
Http1.Url = "https://secure.ur.com/index.php/upsupload"
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 27, 2005 2:26 PM

Have you taken a look at the Multi-Part Post sample yet? If not, please do so. If you are still not able to resolve this, please contact support@dart.com

ambgabi

From: Brooklyn, NY USA
Posts: 8
Member Since: 09/26/04
posted May 27, 2005 10:21 AM

Dim dsFile As New DartStream
dsFile.DeleteOnDestroy = False
dsFile.filename = "c:\test.txt"         dsFile.Ref = "<file>"
dsFile.Position = 0
strBodyPart = "--" & bndry & vbCrLf
         strBodyPart = strBodyPart & "Content-Disposition: form-data; name=""" & GetFileNameDart(dsFile.filename) & """" & "; "
         strBodyPart = strBodyPart & "filename=""" & dsFile.filename & """" & vbCrLf
         strBodyPart = strBodyPart & "Content-Type: application/octet-steam" & vbCrLf & vbCrLf
         strBodyPart = strBodyPart & dsFile.ReadString() & vbCrLf
Http1.Post strBodyPart , , response
Set dsFile = Nothing
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX