Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Problems with cffile

Guest
Jan 26, 2011 Jan 26, 2011

I am probably overlooking something simple, but I have been staring at this for so long I can't see it. Maybe some fresh eyes may spot the problem.

I have a simple cffile:

<cffile action="UPLOAD"
        destination="\\wincfdev01\wwwroot\memo\pdfs"
        nameconflict="OVERWRITE"
        filefield="file1">

I run the page and it runs without error. But when I look in the folder that the file is supposed to be dropped in, it is not there. Is there something that I am missing?

Using coldfusion 9.

481
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Jan 26, 2011 Jan 26, 2011

It is possible to upload file

to a different server using unc name in destination.Please check whether the permissions are set for the folder to which you are trying to copy the file.

Translate
Community Expert ,
Jan 26, 2011 Jan 26, 2011

The only obvious thing in your code snippet is that you're pointing to a UNC share path rather than a local path. Does CF have rights to that share? By default, CF doesn't have rights to remote shares.

Dave Watts, CTO, Fig Leaf Software

http://www.figleaf.com/

http://training.figleaf.com/

Dave Watts, Eidolon LLC
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 26, 2011 Jan 26, 2011
LATEST

It is possible to upload file

to a different server using unc name in destination.Please check whether the permissions are set for the folder to which you are trying to copy the file.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources