aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes How to Check whether the file in the Ftpserver is a directory or not? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "How to Check whether the file in the Ftpserver is a directory or not?" Watch "How to Check whether the file in the Ftpserver is a directory or not?" New topic
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
    
    5
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: 61230
    
  66

Moving to the 'Other projects' forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Check whether the file in the Ftpserver is a directory or not?