• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Check whether the file in the Ftpserver is a directory or not?

 
yathish Gatty
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which "FtpLibrary" are you talking about and how does it relate to "Ant, Maven and Other Build Tools"?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the 'Other projects' forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic