> I was just testing w/ cfcontent..but this does not appear to let me
> retrieve a file from another server??

If you are running CF 5.0 or earlier, that's true. If you are running CFMX, cfcontent runs with the permissions of the server user that is running the CF Application Server process. Here is my checklist to set this all up:

1. Run your CF Server process under a user that has network permissions to the resource you want to access. On Windows you set this in the Services panel.
2. Create a share on your target system and grant the user from step 1 rights to read from that share.
3. In cfcontent, access the target resource using UNC mapping- e.g. \\hostname or IP address\sharename\filename

Then you should be able to serve your PDF from your other system.

Rob
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to