commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Commons FTP Access file twice parallelly
Date Mon, 17 Oct 2011 15:23:23 GMT
On 17 October 2011 15:02, sum124 <sumukh_death@yahoo.com> wrote:
> Hello,
>
> Scenario: TWO Cronjob running simulaneously (means at the same time ) to FTP
> download a same file using same login from the server to the machine.
> I am getting a commons.net.ftp.FTPConnectionClosedException: Connection
> closed without indication exception. for files which I want to download.
>
> But strangely I do see that the file exists on the server, and one of the
> download succeeds where the other fails which gets started later.
>
> Can some one point me to how to workaround this.

What happens if the two cronjobs try to download different files?
Does that always work? If not, fix that first.

Are the local destination files the same?
If so, change them so they are different.

> -S
>
> --
> View this message in context: http://apache-commons.680414.n4.nabble.com/Commons-FTP-Access-file-twice-parallelly-tp3912149p3912149.html
> Sent from the Commons - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

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


Mime
View raw message