CFdocument on local files

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default CFdocument on local files

    I am working on a paperless transaction system, that will make use of the new
    cfdocument tag. How ever I am not using a remote webpage or file. I am using
    local files that are run through a process. When I try to run the code below,
    all it outputs is the line within the cfdocument tag. Does anyone know how I
    can dynamically pull the files and have them displayed as pdf's through the
    cfdocument tag.

    HEre is the code that I am currently testing.

    <cfif cmd is "pdfProcess">
    <cfdirectory name="dListDocuments"
    directory="#faxPath#"
    filter="*.tif">

    <cfoutput query="dListDocuments">#name#<br></cfoutput>

    <cfdocument
    format="pdf"><cfoutput>#faxPath#/#dListDocuments.name#</cfoutput></cfdocument>
    </cfif>

    rottmanja Guest

  2. Similar Questions and Discussions

    1. Network Files Need to Access Local Files
      Hi all, I have a web application that will be accessing files from both the network (our servers) and the local computer. It worked great on FP 8...
    2. Urgent: Online files accessing local files Issue
      Hi.. We are working on a online project where we have some 600 MB videos. The complete project is made using flash & HTML.
    3. cfdocument not saving PDF to disk on non-local machines
      Hi guys, Im having abit of trouble using the cfdocument tag. Basically, i have a page of results displayed to the user fine, and if the user...
    4. Cfdocument and merging PDF files?
      Hello, I?m using cfdocument tag to create individual PDF files. I was wondering if there is a way to merge them into a single PDF file in an...
    5. java.io.FilePermission for CFDOCUMENT PDF files
      Our users are getting an error (access denied (example: java.io.FilePermission c:\winnt\fonts\arialbd.ttf read) ) when trying to generate PDF files...
  3. #2

    Default Re: CFdocument on local files

    CFDocument will render everything inside of it as if it were an HTML page.
    So if the images were in an image tag it would work (but not with .tiff's,
    you'd need to convert them to a web format)

    Dean

    "rottmanja" <webforumsuser@macromedia.com> wrote in message
    news:d2buu9$922$1@forums.macromedia.com...
    >I am working on a paperless transaction system, that will make use of the
    >new
    > cfdocument tag. How ever I am not using a remote webpage or file. I am
    > using
    > local files that are run through a process. When I try to run the code
    > below,
    > all it outputs is the line within the cfdocument tag. Does anyone know how
    > I
    > can dynamically pull the files and have them displayed as pdf's through
    > the
    > cfdocument tag.
    >
    > HEre is the code that I am currently testing.
    >
    > <cfif cmd is "pdfProcess">
    > <cfdirectory name="dListDocuments"
    > directory="#faxPath#"
    > filter="*.tif">
    >
    > <cfoutput query="dListDocuments">#name#<br></cfoutput>
    >
    > <cfdocument
    > format="pdf"><cfoutput>#faxPath#/#dListDocuments.name#</cfoutput></cfdocument>
    > </cfif>
    >

    Dean Harmon Guest

  4. #3

    Default Re: CFdocument on local files

    I have abandoned the idea of useing cfdocument to manipulate the files. What I
    am now trying to do is figure out how to give my web app the functionality of
    acrobt writer in a web browser. I have seen it done in a few php applications
    but havent been able to figure out how they did it.

    rottmanja Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139