Skip to content

Commit

Permalink
LDEV-977 passive not sticky
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jul 16, 2022
1 parent 9e55a96 commit 11c7c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tags/FTP.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ component extends="org.lucee.cfml.test.LuceeTestCase" labels="ftp,sftp" {
var subfile=subdir&fileName;

// list the inital state
ftp action="listdir" directory=base connection = "conn" name="local.list1";
ftp action="listdir" directory=base connection = "conn" name="local.list1" passive=true; // passive not sticky LDEV-977

// print working directory
ftp action="getcurrentdir" directory=base connection = "conn" result="local.pwd1";
Expand All @@ -77,7 +77,7 @@ component extends="org.lucee.cfml.test.LuceeTestCase" labels="ftp,sftp" {

// we add a file
ftp action="putFile" localfile=getCurrentTemplatePath() remoteFile=file connection= "conn";
ftp action="listdir" directory=dir connection = "conn" name="local.list3";
ftp action="listdir" directory=dir connection = "conn" name="local.list3" passive=true; // passive not sticky LDEV-977;
assertEquals(list3.recordcount,1);
assertEquals(list3.name,fileName);
assertEquals(list3.isDirectory,false);
Expand Down

0 comments on commit 11c7c12

Please sign in to comment.