School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,479 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,761 people online right now. Registration is fast and FREE... Join Now!




Consolidate files into one

 

Consolidate files into one

kensington

16 Apr, 2009 - 05:22 PM
Post #1

New D.I.C Head
*

Joined: 8 Oct, 2007
Posts: 39


My Contributions
I have 20 powerpoint files sitting in a web server directory. Each one has one powerpoint slide only. I need to create one file that shows all 20 of the powerpoint files in just one pdf file.
I am not sure how to loop through the 20 powerpoint files and append all of them into the one file where I assume would be done in the cffile output area:
CODE

<cffile action = "append" file = "c:\mydir\consolidated.pdf"  output = "?">


Please advise

User is offlineProfile CardPM
+Quote Post


sansclue

RE: Consolidate Files Into One

17 Apr, 2009 - 07:15 AM
Post #2

D.I.C Regular
***

Joined: 21 Nov, 2007
Posts: 316



Thanked: 28 times
My Contributions
You cannot merge office files with cffile. They use a special format, so you cannot simply append to them like a text file. You will have to use a program that is capable of understanding those formats. You could try a commercial tool or look into using OpenOffice. Though if it is only 20 files, you may be better off doing it manually.

http://stackoverflow.com/questions/398235/...with-coldfusion

This post has been edited by sansclue: 17 Apr, 2009 - 07:16 AM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/8/09 03:43AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month