Re: Retrieve a list of files from a remote server? (General questions)
Kamal,
I think you answered all questions by yourself. As you can see, remote list contains . and .. Not much we can do about it - this is part of UNIX/DOS filesystems. I see in your code you check if filename= .. or filename= . in which case you ignore them. That's exactly what I would suggest.
As for RemotePath being changed internally - this is also correct. So, just provide it again from your code.
The way you're doing it now is safe way.
Complete thread:
- Retrieve a list of files from a remote server?! - Kamal, 2005-01-13, 13:49
- Re: Retrieve a list of files from a remote server? - wodSupport, 2005-01-13, 13:54
- Re: Retrieve a list of files from a remote server? - Kamal, 2005-01-13, 15:21
- Re: Retrieve a list of files from a remote server? - wodSupport, 2005-01-13, 15:26
- Re: Retrieve a list of files from a remote server? - Kamal, 2005-01-14, 17:42
- Re: Retrieve a list of files from a remote server? - wodSupport, 2005-01-14, 20:14
- Re: Retrieve a list of files from a remote server? - Kamal, 2005-01-14, 17:42
- Re: Retrieve a list of files from a remote server? - wodSupport, 2005-01-13, 15:26
- Re: Retrieve a list of files from a remote server? - Kamal, 2005-01-13, 15:21
- Re: Retrieve a list of files from a remote server? - wodSupport, 2005-01-13, 13:54