Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [apache-commons-net]

Apache Commons Net™ library implements the client side of many basic Internet protocols.

apache-commons-net
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 ...
Joseph's user avatar
  • 107
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 ...
jackstraw97's user avatar
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 ...
Sigurd's user avatar
  • 85
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, ...
JGleason's user avatar
  • 3,605
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){ ...
lezn's user avatar
  • 21
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 { ...
Eryczek's user avatar
  • 11
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 ...
StealthRT's user avatar
  • 10.3k
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, ...
java developer 111's user avatar
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-...
LazareC's user avatar
  • 21
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 ...
StackerSapper's user avatar
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 ...
Spinner's user avatar
  • 732
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 ...
dsknjksad's user avatar
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 ...
Logic's user avatar
  • 25
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 ...
F. P. Freely's user avatar
  • 1,076
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 ...
Hijas Ahmed's user avatar

15 30 50 per page
1
2 3 4 5
28