Our Products:
CompleteFTP
edtFTPnet/Free
edtFTPnet/PRO
edtFTPj/Free
edtFTPj/PRO
Login
Remember
Google Login
Register
All Activity
Questions
Hot!
Unanswered
Tags
Categories
Ask a Question
Ask a Question
Folder Error
0
votes
2.8k
views
asked
May 13, 2009
in
.NET FTP
by
safzal1212
(
180
points)
I am trying to get list of files from a server in different folders. I am getting the list without any problem but when I try to get a files list from the folder that dosn't exist on the server then I get error that "System can not get the file specified". Is there any way that I could check that the folder exist on the server or not before getting the files list!
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 13, 2009
by
support2
(
162k
points)
Get the folder list of the parent. If it isn't in there, it doesn't exist. Alternatively, try changing current directory. If it fails, it doesn't exist (or you don't have perms in it).
Please
log in
or
register
to add a comment.
Categories
All categories
Products
(2.8k)
CompleteFTP
(418)
Java FTP
(1k)
.NET FTP
(1.4k)
FAQ
(120)
General
(178)
Feature Requests
(21)
...