Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce
Reporter/Name(from Bugbase): Joseph Maitino / Joseph Maitino (Joseph Maitino)
Created: 10/01/2013
Components: Net Protocols, FTP
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 0
Problem Description:
When connecting to an FTP service (port 21) and issuing a "PUTFILE" action with passive="no", tag returns a SUCCESS however no file is written. When attaching passive="yes", the file does get written and it passes a SUCCESS.
Steps to Reproduce:
<cfftp action="OPEN" server="{ServerIP}" username="{UserID}" password="{Password}" stoponerror="Yes" connection="connect1" retrycount="5" timeout="120" secure="no">
<cfftp action="PUTFILE" stoponerror="Yes" localfile="{FileToSend}" remotefile="{RemoteDirectory}\{FileToSend}" connection="connect1" retrycount="3" timeout="120" failifexists="false">
Actual Result:
File is not written on FTP server and Returns CFFTP.SUCEEDED=TRUE.
Expected Result:
CFFTP.SUCEEDED=FALSE.
Any Workarounds:
Get a file list after sending file to ensure the file exists:
<cfftp name="ftpList" action="listdir" connection="connect1" stoponerror="true" directory="{RemoteDirectory}" passive="yes">
<cfset foundftpfile=false>
<cfif isdefined("ftpList")>
<cfloop query="ftpList">
<cfif ftpList.name EQ active.name><cfset foundftpfile=true><cfbreak></cfif>
</cfloop>
</cfif>
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3643514
Deployment Phase: Release Candidate
External Customer Info:
External Company:
External Customer Name: jmaitino
External Customer Email:
External Test Config: My Hardware and Environment details:
VM-Dell
Windows Server 2008 R2 64-Bit
Attachments:
Comments: