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: Difference between Web Tool & WebASP Tool....
karthiksp

From: West Palm Beach, FL USA
Posts: 60
Member Since: 08/04/05
posted November 8, 2006 1:40 PM

Hi All,

    I am in the process of researching the product that we can use for our PowerBuilder applications. Our requirement is as follows. We should be able to upload / download files from website using HTTPS.

   In order to accomplish the above request what control dO I need to try it out. And also I want to know what is the difference in Web Tool & WebASP Tool.

   Please help me in this. We are using using PowwerBuilder 10.5. We are already using DART components for our FTP/SMTP Email/Zip functionalities. All works really great. I am thinking changing our HTTPS interaction through DART component.

Thanks
Karthik
Raj

From: Rome, NY, USA
Posts: 389
Member Since: 02/01/06
posted November 10, 2006 1:21 PM

The webEnterprise Tool can also be used to put/get files to/from web servers.

The WebEnterprise consists of Web tool as well as WebASP Tool.

Overview for WebEnterprise tool:
http://dart.com/ptwbe_overview.aspx

The WebASP Control improves upon the Web Control with the following features:
1. No dependency upon Wininet.dll (Secure HTTP uses the Crypto API available with NT 4.0 sp 4 and higher, Windows 2000, and Windows ME).

2. The new WebMessage Object separates the data from the protocol, making the WebASP Control more intuitive and easy-to-use.

Regards,
Raj
karthiksp

From: West Palm Beach, FL USA
Posts: 60
Member Since: 08/04/05
posted November 10, 2006 2:33 PM

Hi Raj,
   Thanks for the reply. Meanwhile I posted a question in WebASP forums, I really need a answer for this.

Here is the question I asked in webASP Forums

Hi All,

  I am checking the postfile functionality to post a simple file in our website. I am always getting status code = 405 at the end of code and the file is not uploaded in the site.

 Following is the command that I used to post a simple file. Application is Powerbuilder 10.5

ole_webasp.Object.Request.Url = "http://www.test.com"
ole_webasp.Object.Request.Username = "XXXX"
ole_webasp.Object.Request.Password = "YYYYY"

OLEOBJECT OLE_DartStreams
OLEOBJECT OLE_DartStream

OLE_DartStreams = Create OLEOBJECT
OLE_DartStreams.ConnectToNewObject("Dart.DartStreams")
OLE_DartStream = Create OLEOBJECT
OLE_DartStream.ConnectToNewObject("Dart.DartStream")

OLE_DartStream.FileName = "c:\upload.txt"
OLE_DartStream.Ref = "file1"

OLE_DartStreams.Add(OLE_DartStream)

ole_webasp.Object.Request.FilesToPost(OLE_DartStreams)
ole_webasp.Object.Post()
ole_webasp.Object.Response.Status()

always the last line return code 405.


Could someone tell me what am I doing wrong in the above code.

Appreciate any kind of small hint.

Thanks
Karthik


Could you please tell me why I am getting this error and how can I fix the error.

Thanks in advance
Karthik
Raj

From: Rome, NY, USA
Posts: 389
Member Since: 02/01/06
posted November 13, 2006 12:13 PM

Please check the original post. It has been answered.

Thanks,
Raj
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX