tracker issue : CF-3290857

select a category, or use search below
(searches all categories and all time range)
Title:

CFFILE upload not working with Windows virtual directory

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Seb Duggan / Seb Duggan (Seb_Duggan)

Created: 07/18/2012

Components: File Management

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final / 287766

Priority/Frequency: Normal / Unknown

Locale/System: English / Win 2008 Server R2 64 bit

Vote Count: 0

Problem Description:

CFFile form upload fails when uploading a new file to an IIS virtual directory.

Steps to Reproduce:

Try uploading a file as follows, where the destination is a virtual directory set up in IIS:
<cffile
	action="upload"
	fileField="myImage"
	destination="#expandpath("/virtualdir/test.jpg")#"
	nameConflict="Overwrite">


Actual Result:

If the file does not exist in the destination, I get the error:

The destination either does not exist or is not accessible by this tag.
The destination D:\Web\sites\testSite\virtualdir\test.jpg specified in the file's upload action is invalid.

If the file does exist, it is overwritten successfully by the new file.

If I try uploading to a physical, non-virtual directory, there is no problem. Also, this worked before upgrading to CF10 (previously running CF9).


Expected Result:

File should be uploaded successfully whether the destination file exists or not.


Any Workarounds:

None.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3290857

Deployment Phase:	Release Candidate

External Customer Info:
External Company:  
External Customer Name: Seb_Duggan
External Customer Email:  
External Test Config: My Hardware and Environment details:



CF10 running on Windows 2008 Server R2 64 bit.

Attachments:

Comments: