I tried passive=Yes, unfortunately the same result. I am using CF 4.0 with this provider and the Passive parameter for the CFFTP tag is probably first supported in a later version.
It seems we don't get it working... Thanks all for your feedback ! Leo ----- Original Message ----- From: "Cottell, Matthew" <[EMAIL PROTECTED]> To: "CF-Server" <[EMAIL PROTECTED]> Sent: Wednesday, August 28, 2002 4:42 PM Subject: RE: CFFTP ListDir returns nothing > try using this tag attribute: passive="Yes" > > > > -----Original Message----- > > From: Leo Scheltinga [SMTP:[EMAIL PROTECTED]] > > Sent: Tuesday, August 27, 2002 2:09 PM > > To: CF-Server > > Subject: Re: CFFTP ListDir returns nothing > > > > That could be it, but how do you give a PASV command through the CFFTP tag > > ? > > > > ----- Original Message ----- > > From: "Doug" <[EMAIL PROTECTED]> > > To: "CF-Server" <[EMAIL PROTECTED]> > > Sent: Monday, August 26, 2002 9:42 PM > > Subject: Re: CFFTP ListDir returns nothing > > > > > > > once you connect to the FTP host, you must issue the command: > > > PASV > > > in order to get into passive mode. > > > > > > ================================ > > > This address is filtered through the open relay database at > > > http://www.ordb.org > > > and is virus scanned by ANTIVIR > > > http://www.dwhite.ws > > > mailto:[EMAIL PROTECTED] > > > ================================ > > > ----- Original Message ----- > > > From: "Leo Scheltinga" <[EMAIL PROTECTED]> > > > To: "CF-Server" <[EMAIL PROTECTED]> > > > Sent: Monday, August 26, 2002 1:43 PM > > > Subject: Re: CFFTP ListDir returns nothing > > > > > > > > > | The download of a file is indeed the next step. > > > | But at the moment I am struggling to get a list of files that are > > present > > > in > > > | the directory. > > > | > > > | Some more info could be: > > > | When I use a FTP client "Passive" should be on, otherwise I cannot > > > download. > > > | I am using CF 4.0 with this provider where I want to use FTP, but this > > > | version doenst support "passive", could it be that in CF 4.0 the CFFTP > > tag > > > | standard sets "passive off" ? > > > | > > > | Leo > > > | > > > | ----- Original Message ----- > > > | From: "clickdoug" <[EMAIL PROTECTED]> > > > | To: "CF-Server" <[EMAIL PROTECTED]> > > > | Sent: Sunday, August 25, 2002 4:07 PM > > > | Subject: Re: CFFTP ListDir returns nothing > > > | > > > | > > > | > Is the command "listdir" the actual command you are sending to the > > FTP > > > | site? > > > | > I don't see in your code the name of the file to download or the > > > wildcard > > > | to > > > | > download everything. When your routine is running, do you get a > > file > > > | > transfer dialog box? > > > | > > > > | > I believe the command should be "ls" all lower case. (most ftp > > servers > > > | use > > > | > unix-type commands, even the windows ones) > > > | > > > > | > I apologize if I read your message incorrectly. > > > | > > > > | > ====================================== > > > | > Got DSL? Check it out! > > > | > For hosting solutions http://www.clickdoug.com > > > | > ISP rated: http://www.forta.com/cf/isp/isp.cfm?isp_id=772 > > > | > ====================================== > > > | > My Idea of an agreeable person is a person who agrees with me! > > > | > > > > | > ----- Original Message ----- > > > | > | > > > | > | Date: Sun, 25 Aug 2002 14:55:05 +0200 > > > | > | From: "Leo Scheltinga" <[EMAIL PROTECTED]> > > > | > | To: > > > | > | Subject: CFFTP ListDir returns nothing > > > | > | Message-ID: <000e01c24c36$a98b0340$0201a8c0@oemcomputer> > > > | > | > > > | > | This is the first time I use the CFFTP tag. I can open and close > > the > > > | > connection, and also test with ExitsDir that the directory I want to > > > read > > > | > exists without any FTP errors. But for some reason I cannot get the > > > | > ACTION=LISTDIR working. > > > | > | > > > | > | Below is the form I use. I also tried to set the directory > > hardcoded > > > | > instead of using #CFFTP.returnvalue#, but I get the same result. > > Also, > > > it > > > | > doenst result in an FTP error, it just takes a very long time for > > the > > > form > > > | > to finish and returning nothing (sometimes hanging the CF server). I > > > also > > > | > tried "/*." as directory, which I found in some example programs, > > but > > I > > > | get > > > | > the same result. > > > | > | > > > | > | What am I doing wrong ? > > > | > | Leo > > > | > | > > > | > | > > > | > | <cfoutput> > > > | > | > > > | > | <cfftp action="OPEN" > > > | > | server="my_server" > > > | > | port="21" > > > | > | username="my_user" > > > | > | password="my_passw" > > > | > | stoponerror="Yes" > > > | > | connection="download"> > > > | > | > > > | > | <cfftp action="GETCURRENTDIR" > > > | > | stoponerror="Yes" > > > | > | connection="download"> > > > | > | > > > | > | <cfftp action="LISTDIR" > > > | > | stoponerror="Yes" > > > | > | name="ContentList" > > > | > | directory="#CFFTP.ReturnValue#" > > > | > | connection="download"> > > > | > | > > > | > | FTP Returnvalue: #CFFTP.ReturnValue#<BR> > > > | > | FTP Operation Successful: #CFFTP.SUCCEEDED#<BR> > > > | > | FTP Error Code: #CFFTP.ErrorCode#<BR> > > > | > | FTP Error Text: #CFFTP.ErrorText#<BR> > > > | > | RecordCount: #ContentList.RecordCount#<br> > > > | > | > > > | > | <cfftp action="CLOSE" > > > | > | connection="download"> > > > | > | > > > | > | </cfoutput> > > > | > | > > > | > | When I run this, the following returns (after a very long time): > > > | > | FTP Returnvalue: > > > | > | FTP Operation Successful: TRUE > > > | > | FTP Error Code: > > > | > | FTP Error Text: > > > | > | RecordCount: 0 > > > | > | > > > | > | > > > | > > > > > > ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com ------------------------------------------------------------------------------ To unsubscribe, send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body or visit the list page at www.houseoffusion.com
