473,387 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

please help with https upload !

Hi,

I am running Apache 1.3.27 over win2k...and my scripting language is
perl...

problem is that I have written a code in VB which lets the user
connect to the webserver using HTTPS ..the authorization is
alright..but when I try to upload a base64 encoded file...the response
from the webserver is error 414, URI too long...I dont know what to
do..!! The file is hardly 30 kbs..!!! Probably some configuration
parameter is to be added in httpd.conf which I am missing.

Other thing is.. before this problem happened, I was submitting the
encoded file as is..with the line feeds which are present after every
76 characters..when I used a perl script to retrive the value of the
parameter, I only get the encoding till the first line feed... this is
my POST request:

POST /org/PRACTICE1/dlg-add-toaspire?userId=ADMIN&p=r++E6YxEmSK7mInVBtc2g&serv ice=doc_add&content=datetime=200310302320&_f_objec t=encodedContentsOfTheFileWhichDOesntGetUploaded

Please help me asap! Deadline is near !!

Thanks !
Aditya K
Jul 19 '05 #1
1 2509
tr****@rediffmail.com (aditya) wrote in message news:<a9*************************@posting.google.c om>...
I am running Apache 1.3.27 over win2k...and my scripting language is
perl...

problem is that I have written a code in VB which lets the user
connect to the webserver using HTTPS ..the authorization is
alright..but when I try to upload a base64 encoded file...the response
from the webserver is error 414, URI too long...I dont know what to
do..!!
First, start looking at the right end - if the URL that's being
generated is too long then the problem is in the client - i.e. the VB
code.

This newsgroup does not exist (see FAQ). If it did it would not be
the place to ask about problems in your VB code.
POST /org/PRACTICE1/dlg-add-toaspire?userId=ADMIN&p=r++E6YxEmSK7mInVBtc2g&serv ice=doc_add&content=datetime=200310302320&_f_objec t=encodedContentsOfTheFileWhichDOesntGetUploaded
Looks like it's trying to encode a the data as per a GET request not
as per a POST request.
Please help me asap! Deadline is near !!


Speak to the person who provided the VB code, ask if it supports
encoding of form data for a POST request.
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Michele Simionato | last post by:
Can somebody provide an example of how to retrieve a https url, given username and password? I don't find it in the standard documentation. TIA, Michele Simionato
2
by: Mark Delon | last post by:
Hi, i want to log via python script to https page: 'https://brokerjet.ecetra.com/at/' # But it does not work. I am using following code(see below)
0
by: Jonathan Wax | last post by:
Hi, I spent the last week looking for an answer to the following question: How can you upload an xml file to an HTTPS server with a specific certificate. Basically doing the same as this html...
2
by: Jonathan Wax | last post by:
Hi, I spent the last week looking for an answer to the following question: How can you upload an xml file to an HTTPS server with a specific certificate. Basically doing the same as this html...
6
by: chris | last post by:
Client page: <input type="file".....> Server: Apache, OC4J, J2EE app XP, SP1 and updates Works perfectly under HTTP. However, under HTTPS the user needs to hit the submit button really fast to...
3
by: David B | last post by:
I'm looking for guidance to show developers information about implementing https using VB so that an application which needs to transfer files securely from within a VB client app can do so using...
2
by: JD | last post by:
I am currently trying to send an XML document to an HTTPS address. The address is something like https://blah.com:5558/test/http. I am trying to use httpWebRequest but am not sure if this is the...
4
by: Dynamo | last post by:
I am trying to upload a file and then rename the file as something else. Everything worked fine unless the renamed filename already existed. So I added some extra code to check if the filename...
1
by: jpandviv | last post by:
I'm looking to create an application which will allow me to upload a file using an encrypted/secure connection (SSL) and was looking to use the FileUpload control. This application will also allow...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.