Hi, 
 
I solved this problem, but I'm still not sure what caused the problem. 
 
I have added a call of enterLocalPassiveMode() method before storing file
I have changed the approach to store a file. I'm using now 
ftp.storeFile(fileName, fis) instead of OutputStream os = 
ftp.storeFileStream(fileName);
and I have added ftp.logout() just before ftp.disconnect(). It lacked before. 
 
Something of those things solved the problem, and it works now. At least, it 
works at my home, and I will check it at my workplace at monday.
 
Thank you guys for your help. Your advices directed me to the solution.
 
Zoran

--- On Sat, 2/21/09, Andreas Rueckert <[email protected]> wrote:

From: Andreas Rueckert <[email protected]>
Subject: Re: [argouml-dev] Problem to transfer projects to the remote server
To: [email protected]
Date: Saturday, February 21, 2009, 8:28 AM

Hi!

-------- Original-Nachricht --------
> Datum: Sat, 21 Feb 2009 06:06:12 -0800 (PST)
> Von: Zoran Jeremic <[email protected]>
> An: [email protected]
> Betreff: Re: [argouml-dev] Problem to transfer projects to the remote
server

--<snip>--

> Did you use passive mode?
> FileZilla server Passive mode settings is set as Default and
'Don't use
> external IP for local connection' is checked on. How should I set
this?

Check 
http://commons.apache.org/net/api/org/apache/commons/net/ftp/FTPClient.html#enterLocalPassiveMode()

Ciao,
Andreas

-- 
Jetzt 1 Monat kostenlos! GMX FreeDSL - Telefonanschluss + DSL 
für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=1203780

To unsubscribe from this discussion, e-mail:
[[email protected]].

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=1203918

To unsubscribe from this discussion, e-mail: 
[[email protected]].

Reply via email to