Open a file on the user's station?

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

  1. #1

    Default Open a file on the user's station?

    On our server here at work, we have a complicated filing system. I created a
    web page where the user can type in the file name, a link to that file
    appears and the OSX finder opens up to that file when you click on the link.
    I tried to make it so that the file would open by clicking on the link, but
    it won't work. The link looks like this:

    <a
    href="file:///Volumes/ad_repository/<cfoutput>#varThree#</cfoutput>/<cfoutpu
    t>#bar2#</cfoutput>/<cfoutput>#Form.openad#</cfoutput>/"
    target="_blank">Open
    The File</a>

    The file extension is "crtr" (MultiAd Creator is the file type). Is there
    any way to open the crtr file from a link, or will I only be able to open
    the finder window?

    Oh- I should mention that the page is on a remote server, and we're opening
    local files.

    --
    Bill Horvath
    Community MX
    [url]http://www.communitymx.com[/url]


    Bill Guest

  2. Similar Questions and Discussions

    1. Stream pre-recorded file like a tv station
      Hi all, I have decided that FMS is best for my needs, and have been digging through tutorials. I have been able to set up my videos to play...
    2. Duplicate files open anytime I open a file
      When I open an Illistratro file, two of the same file opens everytime. I browsed everyone of the subjects suggesting anything with the word...
    3. Open file, make changes, save file, close, re-open, file contents not changed
      I've now run into this several times and it's completely destroyed all of my confidence in Ilustrator CS on Mac. I'm hoping someone can confirm that...
    4. accessing a file in the user's My Documents folder from CD
      I have a Flash Projector file funning on a CD. I need to call variables from a text file that the user will have in their My Documents folder. Is...
    5. How can I prevent MP3s to end up in the cache file in the user's pc?
      Hi all. I stream MP3s (demo work) from my website. I would like them not to end up in the user's Temporary Files folder. Is there any way to...
  3. #2

    Default Re: Open a file on the user's station?

    Not sure if this is what your after, but

    I have an application on a network share, that need to be "opened" on the
    client machine.
    I created a dos batch file that created a mapped drive to the resource, then
    opened the file.

    Ken

    The ScareCrow Guest

  4. #3

    Default Re: Open a file on the user's station?

    That may be what I'm after, but I'd have no idea how to implement it. Thanks
    for your time though Ken.

    --
    Bill Horvath
    Community MX
    [url]http://www.communitymx.com[/url]
    "The ScareCrow" <info@krcaldwell.com> wrote in message
    news:d6jnbe$hq$1@forums.macromedia.com...
    > Not sure if this is what your after, but
    >
    > I have an application on a network share, that need to be "opened" on the
    > client machine.
    > I created a dos batch file that created a mapped drive to the resource,
    then
    > opened the file.
    >
    > Ken
    >

    Bill Guest

  5. #4

    Default Re: Open a file on the user's station?

    You will need to create a user and password combination that has access to the
    folder on the server that contains the file to open. Share the folder and add
    the user to the permissions of the share

    Then in the batch file, which I turned into a com file so the username and
    password would not be visible.
    When the user clicks the link, they can either open the file or download the
    com and double click it from their pc

    net use \\computername\sharename /user username password
    \\computername\sharename\file.crtr

    Ken

    The ScareCrow Guest

  6. #5

    Default Re: Open a file on the user's station?

    That's great. I'll try it on Monday. Thanks, Ken.

    --
    Bill Horvath
    Free Tutorials for Studio MX
    [url]http://www.communitymx.com/free.cfm[/url]
    Free 10 Day Trial
    [url]http://www.communitymx.com/joincmx.cfm[/url]

    "The ScareCrow" <info@krcaldwell.com> wrote in message
    news:d6lsc2$3vs$1@forums.macromedia.com...
    > You will need to create a user and password combination that has access to
    the
    > folder on the server that contains the file to open. Share the folder and
    add
    > the user to the permissions of the share
    >
    > Then in the batch file, which I turned into a com file so the username
    and
    > password would not be visible.
    > When the user clicks the link, they can either open the file or download
    the
    > com and double click it from their pc
    >
    > net use \\computername\sharename /user username password
    > \\computername\sharename\file.crtr
    >
    > Ken
    >

    Bill Horvath .:CMX:. 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