commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexis Dufrenoy <alexis.dufre...@pixvisio.com>
Subject FTP synchronization problem
Date Mon, 08 Sep 2008 13:57:22 GMT
Hi,

I got a problem while transfering files on a server using FTPClient.

I'm transfering several files, using storeFileStream() and storeFile(), 
with remote directory changes and mode changes (between ASCII and 
binary), and some of my transfers fail (no file on the server or files 
with a size of 0). When I look at the server reponses, using 
getReplyString(), I see that my application tries to transfer while the 
server is answering to the previous directory change or mode change command.
I tried to solve this issue by repeating the transfer and checking the 
boolean return value of storeFile() and storeFileStream(), with some 
success, but I have still some files with a size of 0.

Any clue, please ?

Regards,

AD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message