4 Replies Latest reply: Mar 18, 2011 5:56 AM by kodemonki RSS

    CFFile Upload to Remote Server

    kodemonki Community Member

      I know this is a routing question, but I can't figure out what's going on.

       

      Since I can't get links from a remote server to work (see: ) I've decided to just upload files to both production servers.

       

      I am using the code: <cffile action="upload" filefield="new_file" destination="\\earth.domain_name.com\Inetpub\wwwroot\portal\prod\manu\ford\eg\pdc\trainin g">

       

      I have also used the following variations:

      <cffile action="upload" filefield="new_file"  destination="\\earth\Inetpub\wwwroot\portal\prod\manu\ford\eg\pdc\training">

      <cffile action="upload" filefield="new_file"  destination="\\ipaddress\Inetpub\wwwroot\portal\prod\manu\ford\eg\pdc\training">

      <cffile action="upload" filefield="new_file"  destination="\\earth\portal\prod\manu\ford\eg\pdc\training">

      <cffile action="upload" filefield="new_file"  destination="\\earth.domain-name.com\portal\prod\manu\ford\eg\pdc\training">

      <cffile action="upload" filefield="new_file"  destination="\\ipaddress\portal\prod\manu\ford\eg\pdc\training">

      <cffile action="upload" filefield="new_file"  destination="\\earth\Inetpub\wwwroot\portal\prod\manu\ford\eg\pdc\training">

       

      When I use a / at the end I get an attribute validation error, when I don't use one I get the message "The destination either does not exist or is not accessible by this tag."  I copied the inital path directly from the file explorer window that I used on the development server to browse to the foler I wanted.  Even when I replace Earth with the UNC for the development server (same file path) that I can easily write to using a absolute file path, I get that error.  I know these paths are correct and the files exist.

       

      Also, CF is using the Administrator account which has full access to the training folder on the production and development servers.


      Does anyone know why I cannot write to or see these folders when uploading files like this?


      Thank you.