Re: ListDir result not lasting till DONE event in - WeOnlyDo Discussion board

Re: ListDir result not lasting till DONE event in (General questions)

by condev1972, Saturday, March 18, 2006, 21:20 (6617 days ago) @ condev1972

Here's some more info:

Below is an example of what I logged during the
connection to prove that the ListDir works, but
in Done event the DirItems.Count is ZERO:

[code]
CWD / 250:250 CWD successful. / is current directory.
State: Downloading directory list from the server
State: Getting secondary data channel
PASV 227:227 Entering Passive Mode (192,168,0,1,5,35)
State: Downloading directory list from the server
LIST -al 150:150 Connection accepted
drwxr-xr-x 1 ftp ftp 0 Mar 18 08:25 dir1
drwxr-xr-x 1 ftp ftp 0 Mar 05 06:20 dir2
drwxr-xr-x 1 ftp ftp 0 Mar 18 13:31 dir3
drwxr-xr-x 1 ftp ftp 0 Dec 21 2005 dir4
LIST -al 226:226 Transfer OK
State: Connected to server - idle
ftpcomDone
Dir Entries: 0
[/code]

The last 3 lines are my own log messages posted from
within the Done event for checking.

Cheers,
Tobias


Complete thread: