?
Solved

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

Posted on 2009-07-13
5
Medium Priority
?
387 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

*Adobe Acrobat 9 was used for this article. Particular steps may vary depending on software versions. 1. Create a framework of your form in Word, leaving space where you’d ultimately like the Adobe fields to appear.  (Note: I use the blank lines …
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
In this video, we show how to perform Bates Numbering/Stamping of PDF documents using Power PDF Advanced, the newest product from the Document Imaging division of Nuance Communications. There are two editions of Power PDF — Standard and Advanced. Th…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

743 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