473,407 Members | 2,315 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,407 software developers and data experts.

How to get and save PDF submitted from FDF form?

SWu
Hi all

Could someone please tell me how to receive and save the PDF that gets
submitted from an FDF form?

DETAILS
======
The server has PDF forms (i.e. FDFs) which the user can browse to and
complete online. Each form was created with a submit button to my ASPX
page. The submit option is "submit entire PDF".

I found a newsgroup posting which said:

"You need to save the entire incoming stream, the length of which is
identified by the content length, to a file. There are no native ASP methods
for doing so. You can use "Request.BinaryRead" to capture the data. The
result is an array of unsigned bytes (SafeArray) that you can then save to a
file. The resulting file will be the PDF."

I tried to test this by using:

Response.Write(Request.BinaryRead(Request.ContentL ength).ToString());

but after 10 minutes of nothing happening in the browser, stopped it.

Any further light that anyone can shed on this would be GREATLY appreciated.
At this stage, I don't want to consider submitting fields only, using
third-party components, etc but will be forced to change my mind if I don't
find a solution, soon.

Thanks,
Stephen
Nov 18 '05 #1
0 1222

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

Similar topics

5
by: Batezz | last post by:
I have created a form (below) How do I stop it redirecting to another page (productsearchresults.php) when form is submitted if both the fields are blank? Any help appreciated. Batezz
4
by: Jim Rudnick | last post by:
I am generating a report in HTML, that my users can look over AND if they want to, store in their own Access dbase. Thing is, I do not know how to "read" that whole html page into a var and...
2
by: Seth E Seligman | last post by:
I'm working on a web based file manager. The rename file function creates a new window with a form allowing the user to enter a new file name. Before the form gets submitted, I want to make sure that...
2
by: Jon | last post by:
I have a sql table that hold binary files as blobs. Our customers store attachments for their work orders in them, anything from xml files to zip files. Normally, these files first exist on the...
9
by: Kevin Blount | last post by:
Here's the code I tried, and found it failed... <form runat="server" method="post" name="CreditCardForm" id="CreditCardForm"> <% foreach (object item in Request.Form) { if...
4
by: kev | last post by:
Hi folks, I have created a database to store information on equipments. During the first level of registration, there is a form that i need the user to fill up details on the equipment testing....
3
by: kev | last post by:
Hi folks, I have a form for registration (frmRegistration) whereby i have two buttons. One is Save which saves record using the OnClick property. I used wizard to create the save button. The...
13
underscore
by: underscore | last post by:
gud day to all TSD. if i run the code below which is HTML combine with php. my problem encoutered in php code. it will automatically save all blank textbox i declare in php to my database using...
1
by: chennaibala | last post by:
can any one send me mutiple image upload program and save the file name with extension in mysql table.we must cheak uploaded file type like bmp or any image file while uploading. i develop...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
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,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
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,...

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.