Please read the entire reponse, hopefully this clears up your questions.
The data used that needs to go into the batchupload page comes from a
server. My problem is that currently I write a file to the server and then
the user has to pick this file and send it up to the batchupload page. The
batchupload page is not one of our page, instead it is another company's
page. This is there interface to do batch processing. We have no control
over it. We just call this page "batchuploa d" with a file and other
parameters. I am attempting to call the page "batchuploa d" and send fill in
the parameters with out first creating the file. Is this possible? Do you
understand our problem.
First batchupload is a page from another company. It is used for their
batch processing. Request parameters include a file <html input type=file> -
does this have to be a file or some other data stream stored on the page and
then sent over to this page?
The html page I sent you would be a page that was written for us to
communicate with the batchupload page. I can hard code all of the other
parameters except for the input type=file. Instead of writing out a file, I
would like to buffer the file data into an asp.net page and then just send
all of the information at once over to the "batchuploa d" page.
I know that I can use
httpppost(http://www.othercompan y.com/batchupload?bat chid='123'&prog ramnumber='ABC' &xml=??????? ??)
How do I specify the xml, since this variable is a file. What has to be in
the data stream of xml, so that it appears to be a file, but is actually a
character string?
Hopefully this clears up the confusion.
Thanks
Eric 2 1731
they are probably expecting multipart/form-data rather than urlencoded form
data. look up email mime type support.
the header is:
Contexttype=mul tipart/form-data;
boundary=--------------------boundary----------------
form fields are:
--------------------boundary----------------<lf>
Content-Disposition: form-data; name="fieldname "<lf>
<lf>
data<lf>
--------------------boundary----------------<lf>
the file if its xml will be:
--------------------boundary----------------<lf>
Content-Disposition: form-data; name="fname"; filename="C:\lo g.xml"
Content-Type: text/xml <lf>
<lf>
<myxml/><lf>
--------------------boundary----------------<lf>
where <lf> is the linefeed char
-- bruce (sqlwork.com)
"ejs" <ej*@discussion s.microsoft.com > wrote in message
news:49******** *************** ***********@mic rosoft.com...
| Please read the entire reponse, hopefully this clears up your questions.
|
| The data used that needs to go into the batchupload page comes from a
| server. My problem is that currently I write a file to the server and
then
| the user has to pick this file and send it up to the batchupload page.
The
| batchupload page is not one of our page, instead it is another company's
| page. This is there interface to do batch processing. We have no control
| over it. We just call this page "batchuploa d" with a file and other
| parameters. I am attempting to call the page "batchuploa d" and send fill
in
| the parameters with out first creating the file. Is this possible? Do
you
| understand our problem.
|
| First batchupload is a page from another company. It is used for their
| batch processing. Request parameters include a file <html input
type=file> -
| does this have to be a file or some other data stream stored on the page
and
| then sent over to this page?
|
| The html page I sent you would be a page that was written for us to
| communicate with the batchupload page. I can hard code all of the other
| parameters except for the input type=file. Instead of writing out a file,
I
| would like to buffer the file data into an asp.net page and then just send
| all of the information at once over to the "batchuploa d" page.
|
| I know that I can use
|
httpppost(http://www.othercompan y.com/batchupload?bat chid='123'&prog ramnumbe
r='ABC'&xml=??? ??????)
| How do I specify the xml, since this variable is a file. What has to be
in
| the data stream of xml, so that it appears to be a file, but is actually a
| character string?
|
| Hopefully this clears up the confusion.
|
| Thanks
|
| Eric
|
|
Do you mean, that the xml variable =
"Content-Disposition: form-data; name='fname'; filename='C:\lo g.xml'
Content-Type: text/xml <lf>
<lf>
<myxml/><lf>"
Eric
"bruce barker" wrote: they are probably expecting multipart/form-data rather than urlencoded form data. look up email mime type support.
the header is:
Contexttype=mul tipart/form-data; boundary=--------------------boundary----------------
form fields are:
--------------------boundary----------------<lf> Content-Disposition: form-data; name="fieldname "<lf> <lf> data<lf>
--------------------boundary----------------<lf>
the file if its xml will be:
--------------------boundary----------------<lf> Content-Disposition: form-data; name="fname"; filename="C:\lo g.xml" Content-Type: text/xml <lf> <lf> <myxml/><lf> --------------------boundary----------------<lf>
where <lf> is the linefeed char
-- bruce (sqlwork.com)
"ejs" <ej*@discussion s.microsoft.com > wrote in message news:49******** *************** ***********@mic rosoft.com... | Please read the entire reponse, hopefully this clears up your questions. | | The data used that needs to go into the batchupload page comes from a | server. My problem is that currently I write a file to the server and then | the user has to pick this file and send it up to the batchupload page. The | batchupload page is not one of our page, instead it is another company's | page. This is there interface to do batch processing. We have no control | over it. We just call this page "batchuploa d" with a file and other | parameters. I am attempting to call the page "batchuploa d" and send fill in | the parameters with out first creating the file. Is this possible? Do you | understand our problem. | | First batchupload is a page from another company. It is used for their | batch processing. Request parameters include a file <html input type=file> - | does this have to be a file or some other data stream stored on the page and | then sent over to this page? | | The html page I sent you would be a page that was written for us to | communicate with the batchupload page. I can hard code all of the other | parameters except for the input type=file. Instead of writing out a file, I | would like to buffer the file data into an asp.net page and then just send | all of the information at once over to the "batchuploa d" page. | | I know that I can use | httpppost(http://www.othercompan y.com/batchupload?bat chid='123'&prog ramnumbe r='ABC'&xml=??? ??????) | How do I specify the xml, since this variable is a file. What has to be in | the data stream of xml, so that it appears to be a file, but is actually a | character string? | | Hopefully this clears up the confusion. | | Thanks | | Eric | | This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Mudge |
last post by:
Hi,
My hosting provider only allows me to use 50 connections to my MySQL
database that my Web site will use.
I don't know what this 50 connections means exactly. Does this mean that
only 50 visitors to my Web site can access my database through my Web site
at one time?
Or does this mean that in my code I can only use 50 connections? and like
|
by: Adrian |
last post by:
Hi
I want to write a form that when a user presses submit it carries out the
submit action and then closes the browser or redirects to another page.
The form CGI I'm using, Demon's does not allow this and the default page and
message is , well, crap!
Can this be done?
Thanks
|
by: anonymous |
last post by:
Thanks your reply.
The article I read is from
www.hakin9.org/en/attachments/stackoverflow_en.pdf.
And you're right. I don't know it very clearly. And that's why I want
to understand it; for it's useful to help me to solve some basic
problem which I may not perceive before.
I appreciate your help,
sincerely.
|
by: Hazzard |
last post by:
I just realized that the code I inherited is using all asp.net server
controls (ie. webform controls) and when I try to update textboxes on the
client side, I lose the new value of the textbox when submitting the form to
update the database. The server doesn't have the client side value any more.
It seems to me that as I begin to write the client side javacript code for
form validation and client side editing capabilities in order to save...
|
by: Ivan Demkovitch |
last post by:
Hi!
I have Portal application which is on http. However I like to do user
authentification using SSL
I like approach most sites use:
They have
<form name="loginForm" action="https://sss" method="post">
| |
by: jm |
last post by:
I have a .net form. based upon data submitted, another should page is
called (I think), sent the arguments, etc. I see I cannot use the
action= argument like old asp. so how do i call the other page with
the arguments?
What is the model here - coming from old ASP. Thank you.
|
by: glenn |
last post by:
I am use to programming in php and the way session and post vars are past
from fields on one page through to the post page automatically where I can
get to their values easily to write to a database or continue to process on
to the next page.
I am now trying to learn ASP to see if we can replace some of our
applications that were written in php with an ASP alternative. However,
after doing many searches on google and reading a couple...
|
by: Stu |
last post by:
Hi,
When I try and use Javascript to post page form data from one aspx page to
another I get the error 'Unable to validate data. '. I am not trying to read
the data using web controls I am trying to read using the request object
(Request.Form("FieldName")).
I have had this working before but get this error when trying to reproduce
the page in a new project. Anyone any ideas?
|
by: Tom Edelbrok |
last post by:
I'm reading the section "Postbacks and Round Trips" in the Visual Studio
2005 Help (I use VB.NET). Amongst other things, it says that as a result of
a postback "On the Web server, the page runs again. The information that the
user typed or selected is available to the page."
I can set this up in a test project and see that it occurs ... ie: my text
boxes retain their data (ie: "Hello world") even when a postback occurs on
the same or...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |