mina-ftpserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Volkan İSTEK <Volkan.IS...@provus.com.tr>
Subject List command return null or empty list
Date Tue, 29 Jun 2010 12:00:57 GMT
Hi every body,
We have to use two type FTP server (new one is apache FTP sever) on same windows machine.
We use org.apache.commons.net.ftp.FTPClient as a client and FTPClientConfig for configuration.

Configuration code is that:

		FTPClientConfig clientConfig = new FTPClientConfig(
		// Configure
		 * To create a FTPFile object fully default date format should be
		 * specified, If not specified, FTP file properties like timestamp, size
		 * would containt the default values not real (Format --> 05-22-08
		 * 10:08:AM)

		clientConfig.setDefaultDateFormatStr("MM-dd-yy HH:mm:a");

However list command is not working on apache FTP server. On the other hand if i use FTPClientConfig.UNIX
instead of FTPClientConfig.SYST_NT it is working. Does anyone know the reason of that?

Best Regards,

Volkan İstek
PROVUS Bilişim Hizmetleri A.Ş.
Maslak Yolu No:5 Ayazağa Mah.
80670 Şişli /İSTANBUL
Tel   : 90 212 329 06 46
Fax : 90 212 329 06 99

View raw message