Questions tagged [ftp4j]

"The ftp4j library implements a Java full-features FTP client. With ftp4j embedded in your application you can: transfer files (upload and download), browse the remote FTP site (directory listing included), create, delete, rename and move remote directories and files." -- Sauron Software

The ftp4j library implements a Java full-features FTP client. With ftp4j embedded in your application you can: transfer files (upload and download), browse the remote FTP site (directory listing included), create, delete, rename and move remote directories and files.

Source: http://www.sauronsoftware.it/projects/ftp4j/index.php

40 questions
0
votes
1 answer

Unable to connect to FTP using FTP4J

I'm writing a program that has to connect to an FTP server in order to download certain files. In order to do this I'm using the FTP4J library, However I'm running into some trouble. So far I have: if ("Dataset FTP location".equals(link.text()))…
user2320239
  • 1,021
  • 2
  • 18
  • 43
0
votes
2 answers

obtaining the value of an EditText inside Asynctask

I am trying to make an app which uses FTP and changes the filename to a combination of 2 EditTexts. to properly upload it i am uploading it inside a 'asynctask' ,this is my code: @Override protected void onCreate(Bundle savedInstanceState) { …
Harjan
  • 533
  • 1
  • 6
  • 24
0
votes
2 answers

javax.net.ssl.SSLException on HttpsURLConnection request

I am trying to call an https url inside my java application just after renaming a file in a ftp server directory. The file is renamed and the https url request is succesfull however i am receiving a weird exception related to a certificate imported…
thanili
  • 777
  • 4
  • 26
  • 57
0
votes
1 answer

Java ftp4j - List files in FTP server when connecting in amn active mode

I am using ftp4j library to implement my FTP clients however a server that I am trying to connect accept connections only in active mode. So when I am trying to list remote files i am getting: ERROR : Error in Connecting to Remote Machine... Hence…
thanili
  • 777
  • 4
  • 26
  • 57
0
votes
2 answers

Getting started with ftp4j

I can't seem to even be able to get started using ftp4j. I have: FTPClient ftp = new FTPClient(); ftp.connect(address); ftp.login(user, pass); It just keeps saying package ftp does not exist. Can someone tell me what i'm missing?
Harry
  • 467
  • 1
  • 5
  • 14
0
votes
3 answers

Progress Bar is not updated when File is Uploaded with ftp4j using AsyncTask

I have this code but the progress bar does not update the uploaded bytes/lenght of the file. The progress dialog is displayed correctly but the progress stays in 0, then it simply disappears, the file was uploaded correctly but no progress is…
Alex Lord Mordor
  • 2,890
  • 7
  • 27
  • 47
0
votes
1 answer

Uploading a Directory using ftp4j

I am trying to write a recursive function which will upload a directory entirely onto the ftp server. I need to check if the directory I am uploading is already there so I require to check if the dir exist. But in ftp4j I am not able to find any…
0
votes
1 answer

when issuing a logout command to my cpanel ftp server, it returns a 500 error unknown command

I am using it.sauronsoftware.ftp4j with a cpanel server and when I try to close the connection, I am getting a 500 error: unknown command. I assume that means that the cpanel ftp server is using a different command but I don't know how to issue the…
Codeguy007
  • 891
  • 1
  • 12
  • 32
0
votes
1 answer

how to increase TCP window size in android for FTP?

I am trying to develop a simple ftp client using open source ftp4j library for android. I wanted to know if there is any way I can change/increase the tcp window size for data transfer. I have tried changing the receive buffer size on data socket,…
user1720839
  • 91
  • 2
  • 8
0
votes
2 answers

ftp4j: client.login returns Unrecognized SSL message, plaintext connection?

This is my code try{ TrustManager[] trustManager = new TrustManager[] { new X509TrustManager() { public X509Certificate[] getAcceptedIssuers() { return null; } public void checkClientTrusted(X509Certificate[] certs, String…
Marko Vranjkovic
  • 6,481
  • 7
  • 49
  • 68
1 2
3