All Questions
36
questions
1
vote
1
answer
609
views
Java Apache FTPClient most downloaded files are empty or missing
This is my code that is supposed to download entire FTP directory to a local folder. It does it well, but most of the files are 0KB in size. Only JSON files seem to contain all their data.
Things I ...
0
votes
0
answers
282
views
Some downloaded files are missing bytes (Apache Commons FTPClient) [duplicate]
This is a continuation of my other question because I noticed that other file types are affected too (not only images).
My Android app (Java 8, min SDK 24, target SDK 27) downloads images (jpg,png) ...
0
votes
3
answers
168
views
Why does the FTP download not work properly with Java
i'm currently working on a small checklist builder program in Java. I would like to upload and download the created file to my FTP Server (ftps). I'm using the following code for downloading:
public ...
0
votes
0
answers
35
views
Problems with download files from different directories with FTP library Apache Commons
I'm working on an application which download images from a FTP server, I'm using the library: Apache commons.
What I want to do is download every image from a tree of directories like this:
-iTable
...
1
vote
0
answers
71
views
How can I prevent a large and frequent FTP download from ruining my entire internet connection?
After following this tutorial(http://www.codejava.net/java-se/networking/ftp/how-to-download-a-complete-folder-from-a-ftp-server), and also programming the same thing in Python, both of the programs ...
0
votes
1
answer
665
views
FTPClient Java speedup download
What is the max download-speed with 1 thread of apaches FTPClient?
I'm not able to get more, than about 6mb/s with an FPTSClient connection (AUTH SSL).
When i connect via an Ftp Tool like FTP Rush im ...
0
votes
2
answers
2k
views
java ftp - download from guest account on server without login name or password
I am trying to download a file from a server. The server has a guest account without a login or password.
The code was adapted from http://www.dreamincode.net/forums/topic/32031-ftp-in-java-using-...
0
votes
2
answers
2k
views
Android FTP download pause/resume
I'm working on an Android project that requires FTP download to be paused/resumed.
Here is the code I use for FTP connection:
ftpClient.setConnectTimeout(25000);
ftpClient.login("login", "password");...
1
vote
1
answer
490
views
Unable to download txt file from ftp server in Android
I'm trying to download from ftp server in my android app but when i create the local file i can't write in.
Here the code:
String servidor = ips[0];
int reply;
ftp....
0
votes
2
answers
2k
views
Very slow FTP download
I'm downloading a file from a FTP account using a self written function:
private boolean download(String path, Path target) throws IOException {
FileOutputStream fos = new FileOutputStream(target....
0
votes
1
answer
171
views
Inconsistent output from multithreaded FTP InputStreams
I'm trying to create a java program that downloads certain asset files from an FTP server to a local file. Because my (free) FTP server doesn't support file sizes over a few megabytes, I decided to ...
-1
votes
1
answer
186
views
Download to folder/files android apps
my problem is that I use in my practice are pdf files. I did not add them into my application. I want pdf files from ftp or a URL to download it. I have no idea about the solution. I've tried a lot ...
0
votes
1
answer
596
views
Download part of file from FTP server using `FTPClient`
Is it possible to download only a part of a file from my FTP server using FTPClient? This part should by specified by two long values m and n meaning "starting from byte m untill byte n.
Is such a ...
1
vote
2
answers
7k
views
File Download from a FTP Server using apache FTPClient
I am using apache's FTPClient to download files from a FTP server. My scenario is - the FTP server can loose network connectivity and may remain disconnected for a max of 1 day. When it connects back, ...
0
votes
1
answer
178
views
Downloading files from FTP
I'm trying to download files from FTP on Java using org.apache.commons.
try {
OutputStream os = new FileOutputStream(downloadedFile);
boolean success = this.client.retrieveFile(from, ...