Re: ListDir result not lasting till DONE event in (General questions)
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:
- ListDir result not lasting till DONE event in COM - condev1972, 2006-03-18, 21:16
- Re: ListDir result not lasting till DONE event in - condev1972, 2006-03-18, 21:20
- Re: ListDir result not lasting till DONE event in - wodSupport, 2006-03-18, 21:33
- Re: ListDir result not lasting till DONE event in - condev1972, 2006-03-18, 21:56
- Re: ListDir result not lasting till DONE event in - wodSupport, 2006-03-18, 22:01
- Re: ListDir result not lasting till DONE event in - condev1972, 2006-03-18, 22:02
- Re: ListDir result not lasting till DONE event in - wodSupport, 2006-03-18, 22:01
- Re: ListDir result not lasting till DONE event in - condev1972, 2006-03-18, 21:56
- Re: ListDir result not lasting till DONE event in - wodSupport, 2006-03-18, 21:33
- Re: ListDir result not lasting till DONE event in - condev1972, 2006-03-18, 21:20