You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by javamonkey79 <ja...@gmail.com> on 2014/02/26 01:36:40 UTC

FTP timeout on write

Hello,

When I write an FTP endpoint on my local machine it works fine, but when
deployed to the server I get:

org.apache.camel.component.file.GenericFileOperationFailedException: File
operation failed:  Could not parse response code.
Server Reply: : A remote host did not respond within the timeout period..
Code: 425

The URI is pretty simple:

ftp://'+arFtpUserName+'@serverName/FOLDER?password='+arFtpPassword

Any ideas?



--
View this message in context: http://camel.465427.n5.nabble.com/FTP-timeout-on-write-tp5747966.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: FTP timeout on write

Posted by javamonkey79 <ja...@gmail.com>.
it looks like the file is locked with 0 bytes as far as I can tell.  I can't
read it or delete it and my tools show 0



--
View this message in context: http://camel.465427.n5.nabble.com/FTP-timeout-on-write-tp5747966p5747994.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: FTP timeout on write

Posted by javamonkey79 <ja...@gmail.com>.
yes, it was a passive mode problem

thanks



--
View this message in context: http://camel.465427.n5.nabble.com/FTP-timeout-on-write-tp5747966p5748018.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: FTP timeout on write

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Maybe its active vs passive mode problem?
And also there is a binary mode as well, if the data is binary or text based.

And is the file really zero bytes or does it contain data?

On Wed, Feb 26, 2014 at 2:28 AM, javamonkey79 <ja...@gmail.com> wrote:
> For the record, it connects, creates the file with 0 bytes and then times
> out. These are not large files.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/FTP-timeout-on-write-tp5747966p5747972.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Re: FTP timeout on write

Posted by javamonkey79 <ja...@gmail.com>.
For the record, it connects, creates the file with 0 bytes and then times
out. These are not large files.



--
View this message in context: http://camel.465427.n5.nabble.com/FTP-timeout-on-write-tp5747966p5747972.html
Sent from the Camel - Users mailing list archive at Nabble.com.