These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

web service:Current file object

rajneesh_ots
Registered: Jul 22 2009
Posts: 9

hi all,

Can anybody please tell me following things, I need them desparately,

1. How can I get complete path of currently opened pdf? (this.documentFileName returns only filename, not complete path)

2. How can I read the contents of currently opened pdf file so that I could get the Stream object to pass in MTOM web service?

In short, all I need to get an object which is comfortable as an attachment of web service.

Looking for the help....

Thanks in advance,

Vaibhav Kumar Arya

My Product Information:
Acrobat Standard 8.1, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Answer to 1 is this.path or this.URL

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com