| Author |
How to Check whether the file in the Ftpserver is a directory or not?
|
yathish Gatty
Ranch Hand
Joined: Oct 05, 2004
Posts: 31
|
|
I am trying to Ftp the server using the Ftpclient library.But I am not able to check whether the files in ftp server are directory or not. I am using Ameobacode for the Ftpclient library. I am able to get names of the files,but fail to detect whether it is a directory or not. Please suggest me a method. Thank you
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
|
Which "FtpLibrary" are you talking about and how does it relate to "Ant, Maven and Other Build Tools"?
|
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56202
|
|
|
Moving to the 'Other projects' forum.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Sloan Bowman
Ranch Hand
Joined: Jan 21, 2003
Posts: 107
|
|
You should check out the jakarta apache project called Commons. You specifically need to check out the NET package and utilize the ftp package in this library. It is very simple to use and should accomplish what you are looking for. URL: Jakarta Commons NET
|
 |
 |
|
|
subject: How to Check whether the file in the Ftpserver is a directory or not?
|
|
|