Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.7k views
in Java FTP by
Hi,

I have a list of jar files that I like to get to on the ftp server. I got my program to display the list of jar files and its size. What I like to do now is to get the entries information in each of the jar file( such as entry name, size, etc) without having to download the jar file first. What is the best way to go about this? Is it possible to get the header info of a jar file using the edtftp api?

I looked at the developer guide, but it doesn't look like there is any convienience methods in FTPClient for doing so. Any pointer will be greatly appreicated.

Jenny

1 Answer

0 votes
by (161k points)
You would have to download the jars to get a listing of their contents, or alternatively, have some program on the FTP server that dumps the listings into a file you can retrieve.

Hi,

I have a list of jar files that I like to get to on the ftp server. I got my program to display the list of jar files and its size. What I like to do now is to get the entries information in each of the jar file( such as entry name, size, etc) without having to download the jar file first. What is the best way to go about this? Is it possible to get the header info of a jar file using the edtftp api?

I looked at the developer guide, but it doesn't look like there is any convienience methods in FTPClient for doing so. Any pointer will be greatly appreicated.

Jenny

Categories

...