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(
                                FTPClientConfig.SYST_NT);
                // Configure
                clientConfig.setServerLanguageCode("en");
                clientConfig.setServerTimeZoneId(TimeZone.getDefault().getID());
                /*
                 * 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
 

Reply via email to