accessing images on a novell server from a win2000machine

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

  1. #1

    Default accessing images on a novell server from a win2000machine

    hey everyone, i'm doing a proof of concept for a photo library project and i'm
    a bit stuck. we have a novell server with over 20,000 images that we want to
    build a GUI to access. the win2000 coldfusion box is going to be seperate as it
    won't run on novell. i tried to access the novell server using the V:\photo
    library path, but it says that this isn't a registered protocol. i also tried
    accessing my C:\ drive, but that also said it wasn't a registered protocol. i'm
    guessing this is a problem with using those types of addresses, what is the
    proper way to access mapped/source machine drives? also, how do set the
    permissions of the cf server to have admin rights for the photo library? is
    that something i do in novell or on the win machine? my knowledge of networks
    is really limited, your help is greatly appreciated!

    ionic77 Guest

  2. Similar Questions and Discussions

    1. accessing SO at server side
      Hi, I have problem in accessing sharedobject data on the server side. In SSAS, we read SO and write SO data with getProperty and setProperty(as...
    2. Accessing my new MSSQL server
      Hi guys, I haven't had any experience with this sort of thing - I usually create databases through my website host using admin tools so that I can...
    3. Accessing images above root www directory with Flash
      Instead of wasting a lot of time talking, I'll just show: http://artistorm.com/gallery/item.php?id=207 This is a website for selling art...
    4. copy file from Novell server
      I have a ASP.NET web application which is required to copy file from windows server to Novell Netware server. I have used impersonation to connect...
    5. Accessing LDAP server with ASP
      Hi I am trying to access a LDAP server with ASP with no sucess. I can do it with ColdFusion but not ASP. All the examples I have seen so far do not...
  3. #2

    Default Re: accessing images on a novell server from a win2000machine

    You could create a mapping in coldfusion administrator. Logical Pat:
    NovellImages Directory Path: V:\photo library path Then you could call it
    from you colfusion code as <cfinclude template='NovellImages\pic1.jpg'> Hope
    that helps

    dmuniz Guest

  4. #3

    Default Re: accessing images on a novell server from a win2000machine

    thanks for the code! now i just have to wait until our sys admin upgrades the
    cf box's access rights to the server. once these rights are updated, do you
    know if will i be able to browse manually to the directory that i want mapped
    in the cf server browsing java applet? i'll post up with the results as soon
    as i can.

    ionic77 Guest

  5. #4

    Default Re: accessing images on a novell server from a win2000machine

    After reviewing my previously posted code I see there is an error. Colfusion
    Mappings will not work with <Img Src= , I believe they only work with
    <cfinlcudes or <cfmodules. Sorry about that. Have you tried creating a virtual
    directory in you web server that points to the novell drive ?

    dmuniz Guest

  6. #5

    Default Re: accessing images on a novell server from a win2000machine

    we're using the included cf web server right now. is it possible to set up
    virtual directories in this? if not, what's a good server to install on a
    windows 2000 machine? this is going to be on a lan only.

    ionic77 Guest

  7. #6

    Default Re: accessing images on a novell server from a win2000machine

    SInce this is your Lan only, you could src='\\myserver\theshare\pics\my.jpg' if
    all users had read access to the Novell Share. Otherwise, you would need to
    see if you can create a virtual directory on the internal web server in CF that
    points to the Novell Share. I'm pretty sure you can do this. You may want to
    look in MM's knowledge base and see if there is an article on how to.

    byron1021 Guest

  8. #7

    Default Re: accessing images on a novell server from a win2000machine

    1) Pretty sure you'll need to use UNC paths (e.g. \\Server\share ) 2) You'll
    need to run CF as a real user that has rights to the share (plenty of technotes
    out there on this) 3) My approach would be something like (call it
    'getImage.cfm'). 4) You would call it like this: <img
    src='getImage.cfm?imgName=someImage.jpg' />

    <!--- getImage.cfm
    retrieves image from novell store and streams to browser
    --->

    <cffile action="readbinary" file="\\server\share\#url.imgName#"
    variable="imageContent"/>
    <cfset ctx = getPageContext()/>
    <cfset ctx.setFlushOutput(false)/>
    <cfset response = ctx.getResponse().getResponse()/>
    <cfset out = response.getOutputStream()/>
    <cfset response.setContentType("image/jpeg")/>
    <cfset response.setContentLength(arrayLen(imageContent))/>
    <cfset out.write(imageContent)/>
    <cfset out.flush()/>
    <cfset out.close()/>

    Dross.2 Guest

  9. #8

    Default Re: accessing images on a novell server from a win2000machine

    thank you for your solutions! i'm still waiting for our sys admin to create a
    new novell account for the cf server. i will hopefully be able to post the
    results up today. thanks again for your help :)

    ionic77 Guest

  10. #9

    Default Re: accessing images on a novell server from a win2000machine

    thanks again for your help with this!

    now we've got a working demo that we can use to get approval for this project.

    thanks again, it means i have a job for the next two months ;)
    ionic77 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