Steve,
I followed your sugestion on both tests, the one I try to list and the one
intended to upload a file but both showed different behaviors.
When I run this test:
@Test
public void testPerformanceFtpRiscf80Interno() throws Exception {
FTPClient client = new FTPClient();
You said you already tried changing active/passive mode. Did you set after
login, just before the list() method?
if (passiveMode){
ftpClient.enterLocalPassiveMode();
}else{
ftpClient.enterLocalActiveMode();
}
ftpClient.list();
-Original Message-
From: Ricardo
Steve,
I had already tried setting this parameter manually (on System class). Just
to be sure, now follow the results passing it on command line execution
(Maven test):
C:\devel\workspace-nfe\ftp-proof>mvn -Dtest=FtpCommonsNetTest
-Djava.net.preferIPv4Stack=true test
...
Results :
Tests in error:
The exception is occurring when a QUIT command is sent, simply because it
failed to parse the server reply. The actual problem appears to be a
connection issue. It can't open the data connection. That's why list()
failed. Have you tried setting the property java.net.preferIPv4Stack=true?
-Ori
Martin,
Unfortunately I already tried with ASCII type. The first example I sent I
didn't change the default FTP transfer type which is ASCII.
Using some other cliente I can easily upload files, even using other FTP
client libs like edtFTPj. The same set of commands using the MS FTP client
(DOS) g
one possible problem is
type i (if your sending/receiving machine is EBCDIC and
the file contains non-display data, e.g., COMP-3);
i know of one system that sends/receives EBCDIC.. an old ibm mainframe that the
army abandoned in Saigon in 75..all other computer systems send/recei
Hi everybody,
I'm pretty new with Apache Commons Digester, so please forgive me if what I
am asking is very simple..
I have an xml document as the following:
http://my.company/trigger/v1.2/ trigger_1.2.xsd"
xmlns:trigger="http://my.company/trigger/v1.2/";
xmlns:xsi="http://www.w3.org/2001/
Hello,
Let me explain what's happening: I have no problems connecting and uploading
files to Linux, Windows or even SCO (yes, it still exists) FTP servers, but
when I try to execute a simple command using FTPClient to AIX 5.3 I got the
following exception:
1.
org.apache.commons.net.Malforme