Yes, but apache commons sends first FEAT when i use autodetectUTF8(), which
is imo wrong.
The javadoc states that autodetectUTF8() has to be used before connect(),
but i dont understand why.
setAutodetectUTF8 only sets a flag which is consulted during connect;
it does not send anything to the
Please prefix the subject line with the Commons Component in future (as above)
Sorry, next time i will do that.
On 22 January 2017 at 09:12, Oliver Zemann <oliver.zem...@gmail.com> wrote:
Hi, i would like to know how to handle FTP Servers that do not behave like
they should (or
Hi, i would like to know how to handle FTP Servers that do not behave
like they should (or behave different than most others).
For example, currently i would like to connect to one of those servers
which sends " MODE Z" directly after a login (USER) which is interpreted
wrong by apache commons
Seems like that made it. I used a new FTPClient for each file to
download, that worked now in the JUnit. Will try it this weekend to get
the same in my application. Thanks!
Am 30.08.2016 um 16:23 schrieb sebb:
On 29 August 2016 at 18:28, Oliver Zemann <oliver.zem...@gmail.com> wrot
(or the same) FTP serverand concurrently retrieve files. If you want to
share a single FTPClient instance between multiplethreads, you must
serialize access to the object with critical sections.
Can someone tell me what is meant by "critical sections" ?
Am 30.08.2016 um 16
org
CC: oliver.zem...@gmail.com
Subject: Re: NPE in getRemoteAdress
Hello,
I am not sure about your NPE, but this code here ignores the result of
the read call. It cannot deal with short reads:
Am Sun, 28 Aug 2016
15:50:36 +0200 schrieb Oliver Zemann <oliver.zem...@gmail.com>:
byte
re ignores the result of
the read call. It cannot deal with short reads:
Am Sun, 28 Aug 2016
15:50:36 +0200 schrieb Oliver Zemann <oliver.zem...@gmail.com>:
byte b[] =new byte[4096];
while (inputStream.read(b) != -1) {
fos.write(b);
bytesWritten += b.lengt
ConnectionInfo is a JAXB Bean. I just have seen that thunderbird messed
up some lines during copy/paste
The connectionInfo is fully initialized, here is a short part of it:
public class ConnectionInfo {
@XmlElement(name = "Name")
private String name;
@XmlElement(name = "Host")
private String
Hi
i am trying to get some files from a FTP Server. When i use
retrieveFile(), it works, but i would like to add some listeners to it
(how many bytes got transfered etc.) so i used retrieveFileStream().
Now i get some exceptions and no files are downloaded.
This is the part of the code:
01.05.2012 13:07, schrieb Oliver Zemann:
Hi
following scenario:
I have one global config.xml which contains a regularconfiguration
and includes some furtherconfiguration fileName=a1.xml /
configuration fileName=a2.xml / ...
The a1.xml also contains some xml references likexml
fileName=a1_1.xml / xml
Hi
following scenario:
I have one global config.xml which contains a regular configuration
and includes some further configuration fileName=a1.xml /
configuration fileName=a2.xml / ...
The a1.xml also contains some xml references like xml
fileName=a1_1.xml / xml fileName=a1_2.xml / ... which the
oliver.he...@oliver-heger.de:
Hi Oliver,
Am 19.04.2012 16:05, schrieb Oliver Zemann:
Hi,
just a short question:
is it possible to include recursive all xml files that are referenced
by any already included xml?
eg.:
root.xml:
?xml version=1.0 encoding=UTF-8?
additional
xml
Hi,
just a short question:
is it possible to include recursive all xml files that are referenced
by any already included xml?
eg.:
root.xml:
?xml version=1.0 encoding=UTF-8?
additional
xml fileName=other.xml config-name=another/
/additional
other.xml:
?xml version=1.0 encoding=UTF-8?
13 matches
Mail list logo