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: Limit on length of text fields?
User16

Posts: 1
Member Since: 05/22/02
posted May 22, 2002 7:27 AM

Hi,

I'm trying to post mime-encoded data to a cgi script, where it is decoded into an image. The post would not work if the length is greater than about 1450 bytes, regardless of what the data is. For example, the URL would be test.pl, the data:

Data=thisisthe mimedata&

Is there a reason for this? I am using Visual C++. Alternatively, how can I post a file directly to the cgi/perl script?

Thanks in advance,

Glenn.
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted May 22, 2002 3:55 PM


Hi Glenn,
To post a file with the Web control, you would have to include the multipart formatting necessary within the Data parameter. There is a VB example of this here (sorry, no VC code at this time):
http://support.dart.com/forum.dwp?view=2291#FID2291

Regarding the length of the data, I just posted a 4000 byte string without a problem (in VC++). I posted to our www.dart.com/PostSample.asp page. Are you able to post a large string to this page?
Thanks,
-ken

K M Drake
Dart Tech Support
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX