Solved

How to save a file in ASP that is submitted by Acrobat

Posted on 2009-07-13
5
369 Views
Last Modified: 2012-05-07
I have created a PDF form using Adobe's LiveCycle designer that submits the pdf form to a URL that I assign.

What I need to do is be able to accept this file on our IIS 6 / W2k3 webserver using an .ASP page and save it on the server.
0
Comment
Question by:rubendn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 

Expert Comment

by:harkerad
ID: 24845721
The following link is a step-by-step example of how to integrate Adobe LiveCycle Forms in a .NET application.

http://www.adobe.com/devnet/livecycle/articles/smartdoc_dotnet.html
0
 
LVL 1

Author Comment

by:rubendn
ID: 24845743
Thanks for the answer but I'm looking for a way in Classic ASP instead of .NET.
0
 
LVL 9

Expert Comment

by:rg20
ID: 24848446
In the past I used a package called SAFileup in classic ASP

http://fileup.softartisans.com/

There may be a binary way to do it natively in IIS6, but I never got that far.  Sorry
0
 
LVL 1

Accepted Solution

by:
rubendn earned 0 total points
ID: 24849335
After searching around I found a way to do it.  Here is the code:
<%
response.buffer = True
 
totalsize = request.totalbytes
 
set objADO = server.createobject("adodb.stream")
objADO.type = 1
objADO.open
 
	objADO.Write Request.BinaryRead(totalsize)
	objADO.Position = objADO.Size
	objADO.savetofile "c:\webs\docs\testpdf.pdf"
 
objADO.close
set objFSO = nothing
%>

Open in new window

0
 
LVL 9

Expert Comment

by:rg20
ID: 24849381
You might have to chunk that for larger files.  Look into it more.

Glad you found it.
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

PaperPort is a popular document imaging/management product from Nuance Communications (http://www.nuance.com/). It is in widespread use by both individuals (http://www.nuance.com/for-individuals/by-product/paperport/index.htm) and businesses (http:/…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question