CFFILE Uploading files from network share

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

  1. #1

    Default CFFILE Uploading files from network share

    Help Please!!!
    I have a mission critical application which uses CFFILE to upload documents.
    It works fine on the testing environment but fails on the live server, giving a
    "String index out of range -4" error each time.

    Major difference between test/live is that users on the test site were
    uploading documents from their local hard-drives and on the live version the
    users are connected from "dumb" terminals which don't have hard-drives and the
    files are held on a shared file network.

    ie.
    When uploading in the test enrironment the path to the file to be uploaded is
    something like "c:\documents\some_document.txt"

    When uploading in the live environment the path to the file to be uploaded is
    something like "\\svvnz.somename.com.au\BarlowD1$\My
    Documents\some_document.txt"

    Could this have something to do with the CF service user permissions???

    Any help greatly appreciated!

    albarlousta Guest

  2. Similar Questions and Discussions

    1. Uploading with CFFILE
      When trying to upload larger files (10 MB+) I get the following error message: "Error writing data from Web Server to the Cold Fusion Application...
    2. CFFILE - Uploading multiple files
      I'm having a problem trying to upload several files. I am using the code below. Any assistnace will be appreciated. Thanks Norm <cfdirectory...
    3. Opening and Saving AI 10 files to network share.
      I had a similar problem and called adobe tech support. Their response was that, unfortunately, adobe Illustrator and Photoshop were not designed to...
    4. Slow network browsing and opening of share files/drives related to WebClient Service.
      Hi, I have a problem opening shared folders or drives on my 2000 / 2003 Servers from Windows XP Pro. I found that is I stopped WebClient Service...
    5. Share files on network
      I have just installed a router between two computers. The main computer is running XP Pro and the other is running 2K pro. Both computers are able...
  3. #2

    Default Re: CFFILE Uploading files from network share

    Please everyone! I need to have this working by Monday... I'm hoping the CF
    community can help me find an answer to this... just spare me a small bit of
    your brains processor for a few moments... THANKS!

    albarlousta Guest

  4. #3

    Default Re: CFFILE Uploading files from network share

    On 2005-05-27 16:38:44 -0500, "albarlousta"
    <webforumsuser@macromedia.com> said:
    > Please everyone! I need to have this working by Monday... I'm hoping
    > the CF community can help me find an answer to this... just spare me a
    > small bit of your brains processor for a few moments... THANKS!
    If you're on Windows the CF service runs under the local system account
    which does not have network access. You'll have to change the user CF
    is running as to a user with network access and permissions to the
    shares you want to use, and then you should be fine.

    Matt
    --
    Matt Woodward
    [email]mpwoodward@gmail.com[/email]
    Team Macromedia - ColdFusion

    mpwoodward *TMM* 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