Expand my Community achievements bar.

Save attachements to a specific folder on the server

Avatar

Former Community Member
Hi,



I need in a process to upload files from a user to a specific folder on a server.



My first idea was to use the attachments tab into workspace to add the files. I was able to save the attachments into the folder in the workbench after a step validation.



The problem was that the attachments are saved in database or GDS and the size grows up too big.



My second option was to use the javascript methods importdataobject and exportdataobject into the pdf.



I can import the files in the pdf.

But there is two problems :



- the folder destination can't be choosen. The user must selected the folder. The CDIpath option is no longer available for the exportobjectdata.



- I can't save all type of attachments. The EXE files etc can't be saved even if I checked options in the Reader.



How can I upload this files ?



Thanks for any help.
11 Replies