Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): A. Bakia / A. Bakia (A. Bakia)
Created: 11/15/2013
Components: Net Protocols
Versions: 10.0
Failure Type: Data Corruption
Found In Build/Fixed In Build: Final / 288843
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Windows 7 64-bit
Vote Count: 0
Problem Description: When I use the 'getFile' action in the cfftp tag to copy a file to a directory on my local machine, the file's lastModified date is changed.
Steps to Reproduce: Run code similar to the following:
<cfftp action = "open"
username = "my_username"
connection = "my_connection"
password = "my_password"
server = "ftp.myServer.com"
passive = "yes"
port = "21"
stopOnError = "Yes">
<!--- Write a copy of file from FTP server to the local directory. --->
<cfftp action="getFile"
connection = "my_connection"
remoteFile = "/example.xml"
localFile = "C:\temp\ftptest\example.xml">
<!--- Close the connection. --->
<cfftp action = "close"
connection = "my_connection"
stopOnError = "Yes">
done
Actual Result: The file's lastModified date changes to the current date-time.
Expected Result: I expect the file's lastModified date to remain the same, as the file remains unchanged.
Any Workarounds: Not that I know of.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3669307
External Customer Info:
External Company:
External Customer Name: BKBK
External Customer Email:
External Test Config: <cfftp action = "open"
username = "my_username"
connection = "my_connection"
password = "my_password"
server = "ftp.myServer.com"
passive = "yes"
port = "21"
stopOnError = "Yes">
<!--- Write a copy of file from FTP server to the local directory. --->
<cfftp action="getFile"
connection = "my_connection"
remoteFile = "/example.xml"
localFile = "C:\temp\ftptest\example.xml">
<!--- Close the connection. --->
<cfftp action = "close"
connection = "my_connection"
stopOnError = "Yes">
done
Attachments:
Comments: