about FTPClient
Hi,
"list" and "get" methods work well when I'm connected to one server but doesn't work at all when connected to another one: onto that one I can log on without any problems and all functions work using "CuteFtp", but errors come when I try to use "list" and "get" from FTPClient package :
http://www.enterprisedt.com/downloads/ftp/doc/index.html
what could be the problem ?
thanks
Yves
[434 byte] By [
ybucher] at [2007-9-26 1:38:13]

ok, here is the story: (I use "JBuilder 4")
I create a FTPClient to connect "datascope.reuters.com",
I use "login" with a username and password,
use "pwd" to know the current directory,
use "system" to know the type of OS,
set the transfer type to "BINARY" or "ASCII" (I tried both)
until there it works well, no problem.
But then I try to use "list" with a mask ("*.L")
or "get" (with local path file name and remote file name), it seems to try a moment, but then throws me an IO Exception which I catch.
But as I told u, it works properly using "CuteFtp"
so .... will be happy to know the trick ...
Yves