Giter VIP home page Giter VIP logo

easyftp's People

Contributors

adeelahmad94 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

easyftp's Issues

530 SSL is required to connect to this account. Please enable SSL, TLS, ftps

When trying to connect with my credentials, I am getting the following exception -
org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication., along with the _replyString as -

530 SSL is required to connect to this account. Please enable SSL, TLS, ftps://, or ftpes://. If you are the administrator of this account, you can relax this requirement on the Configuration > Settings page.

Though, I am able to connect with server using Filezilla.

Why I am getting this error?
How to resolve this error?

How can I get Upload and Download Transfer rate?

Hi Friend,

Thanks for your easiest FTP plugin.

I just used followed these steps for manually calculate the Transfer rate(Throughput):

inside protected String doInBackground(String... params) {

File imgFile = new File(params[4]); // params[4] - full file path
imgSizeBytes = imgFile.length();
InputStream is= new FileInputStream(params[4]);
upload_start = System.currentTimeMillis();
ftp.uploadFile(is,params[3]);
upload_end = System.currentTimeMillis();

inside protected void onPostExecute(String str) {

float timeDifference = upload_end - upload_start;
uploadThroughput = ((imgSizeBytes * 8) / 1000000) / (timeDifference / 1000);

Same thing I did with download Transfer rate.

Finally I got

Upload Throughput :  0.48 Mbps
Download Throughput : 5.01 Mbps

Please tell me, Am I correct on that formula? or You already have any predefined method to calculate the Transfer rate. It is too slow on upload a file with LTE 4G network. But download is okay.

passive mode

Hello
I want use passive mode i try use it but don't find
How i can use passive mode?
thanks

Having issues including this library into intellij project

so I recently started on a JavaFX FTP application, utilising this lib, I included both the .jar files included in this repo in the lib, as well as using a JavaFX gradle plugin installed correctly, and I placed this repos details accordingly, and when I include any easyFTP class functions (like the word "easyFTP" or "ftp.connect()" it comes up with the symbol not being resolved. I have included "import com.adeel.library.easyFTP;" at the top of my project (well after the package deceleration and such) and that comes up with an error, that being cannot resolve symbol 'adeel', are there any suggestions as to how I could fix this? thanks

null-sized destination on ftp server side

hello!

i'm trying to upload file on an ftp-server.
both of my own code and your example create null-sized destination file without any error in logs.

how to catch the cause of the problem?

Progress Bar

Hello how can i add the progress bar to show dowloading percent

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.