Questions tagged [apache-commons-net]
Apache Commons Net™ library implements the client side of many basic Internet protocols.
apache-commons-net
414
questions
0
votes
0
answers
11
views
ftpsclient hangs after USER command sent with apache commons-net
issue is similar to this https://github.com/samtools/htsjdk/issues/470.
code just hangs after USER *******
it works if step in through an IDE debugger though.
USER *******
331 User name okay, need ...
0
votes
0
answers
33
views
Design Pattern for Dependency-Injected TelnetInputListener implementation?
I'm working on a Spring project using the Apache commons-net TelnetClient. The TelnetClient has a method to register a listener of type TelnetInputListener, which is an interface containing a callback ...
0
votes
0
answers
49
views
Implicit FTPS with Alpakka FTP
I use Alpakka FTP 3.0.3 that uses internally Apache Commons Net 3.8.
I want to upload a file with FTPS inluding implicit SSL.
For FTPS without implicit SSL I use the following code:
FtpCredentials ...
0
votes
0
answers
5
views
Why is KeyManagerUtils.loadStore private?
I am working on a project and I have implemented something like this...
public static KeyStore getInstance(String storeType, Resource location, String password) throws IOException,
...
1
vote
0
answers
32
views
Android downloaded zip file every time damaged [duplicate]
I have problem with download file from ftp server using library commons-net-3.6-ftp.
Every time when I download always missing about 2kb with original size.
fun download(url: MapFragment){
...
0
votes
0
answers
154
views
FTPSClient from Apache Commons Net 3.9.0 not working
I am trying to use the FTPSClient class from Apache Commons Net 3.9.0 just to list files on the server. Here is my code:
public static void main(String[] args) throws IOException {
...
0
votes
0
answers
24
views
Apache commons net ftp unable to stop download when hitting back button
Hey all I am trying to figure out how to do a nice, clean stop of a downloading file if I hit the back button during the download process.
I have the back button detection like this:
mProgress = new ...
1
vote
1
answer
574
views
Downloading many FTP files in parallel using Apache FTPClient and Java streams fails with "socket write error" or "Could not parse response code"
How to retrieve file names from FTP from different directories - seems like FTP close connection, if it detects flood request
The code is very simple
public List<String> getPaths(String path, ...
2
votes
0
answers
233
views
Spring integration FTPs Unable to list files
I have a problem on a spring boot project
I need to retrieve files periodically on a FTPs but spring can't list the files
I have followed the updated documentation (https://docs.spring.io/spring-...
1
vote
0
answers
165
views
apache FTPS with proxy get timeout when transferring file
I am trying to use an ftps client with proxy.
I am using this library by apache: org.apache.commons.net.ftp;
The problem is, that it looks like when I set proxy to the ftps client, it is connecting ...
1
vote
1
answer
187
views
Why can I retrieve file names but not file objects from the FTP server?
I'm trying to access files on an FTP server embedded in specialised hardware with the Apache Commons Net library. For some reason listNames() works, but listFiles() does not.
The documentation for the ...
0
votes
1
answer
651
views
Get a whole FTP directory listings recursively in one call possible to reduce time
Get a whole FTP directory listings recursively in one call if possible to reduce time using possibly Apache Commons API. Right now I have to call it multiple times to get all the directory listings is ...
1
vote
1
answer
505
views
Apache Commons Net FTP does not throw any exception on wrong credentials
I just managed to upload some files to an FTP server using Apache Commons Net FTP. When I use everything as it should be it works fine, I mean, the file uploading is working, but when I use, for ...
0
votes
2
answers
1k
views
FTPSClient fails to connect with MalformedServerReplyException
I'm using the following code:
val ftpClient = FTPSClient()
ftpClient.connect(host, port)
And getting the following error:
org.apache.commons.net.MalformedServerReplyException: Could not parse ...
1
vote
1
answer
1k
views
FTPS data connection with TLS/SSL via proxy fails with log entry "Replacing PASV mode reply address <PROXY_IP> with <FTPS_IP>"
I have an issue while connecting to a FTPS server with TLS/SSL Implicit encryption via PROXY.
I am following the custom Apache FTPS Client (commons-net-3.8.0) solution provided from Java FTPS client ...