﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
3152	FileCopy doesn't cope well with copying files with embedded spaces in their name to UNC destinations	pscales@…	Jon	"FileCopy of a file with a full path specification and included spaces in the filename to a destination specified as a UNC path will fail.  Note that if no path specification is supplied in the source string, FileCopy succeeds.  Tried with V 3.3.12.0, 3.3.14.0, beta 3.3.15.0.

In the examples below, $temp is a folder name in the format ""YYYYMMDDHHNNSS.$$$"", e.g., ""20151027144712.$$$""

{{{
FileCopy(""C:\Temp\"" & $temp & ""\TestFile_1.txt"", ""\\SERVER\C$\Temp"")
}}}

works, but

{{{
FileCopy(""C:\Temp\"" & $temp & ""\Test File 2.txt"", ""\\SERVER\C$\Temp"")
}}}

doesn't.

Neither does

{{{
FileCopy(""""""C:\Temp\"" & $temp & ""\Test File 2.txt"""""", ""\\SERVER\C$\Temp"")
}}}

or

{{{
FileCopy(""""""C:\Temp\"" & $temp & ""\Test File 2.txt"""""", """"""\\SERVER\C$\Temp"""""")
}}}


This works:

{{{
FileChangeDir(""C:\Temp\"" & $temp)
FileCopy(""Test File 2.txt"", ""\\SERVER\C$\Temp"")
}}}

"	Bug	closed		AutoIt	3.3.14.0	None	No Bug		
