tracker issue : CF-3643514

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

CFFTP issues False Positives

| View in Tracker

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:

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 EQ><cfset foundftpfile=true><cfbreak></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:


 Windows Server 2008 R2 64-Bit



I have not tested secure="yes" yet to determine if the same issue exists.
Comment by External U.
14384 | October 01, 2013 08:33:12 AM GMT
Execute code written in Steps to Reproduce and the file is written to the remote location with CFTTP succeeded true. Not able to reproduce in CF10 Is there any additional info you can provide? (Comment added from ex-user id:nawani)
Comment by Adobe D.
14385 | December 23, 2013 01:26:28 AM GMT
Since there has been no response, closing the bug. If you still face this issue please let us know, the bug would be reopened (Comment added from ex-user id:nawani)
Comment by Adobe D.
14386 | December 03, 2014 05:18:16 AM GMT