ftp-client

FTPClient.storeFile() uploads slowly and then doesn't work

戏子无情 提交于 2021-02-18 18:11:53
问题 Android n00b trying to figure out file server upload. I'm having a lot of trouble trying to upload a file to my FTP server in Android using the storeFile method in FTPClient , testing on a Galaxy Nexus. Two problems. First, it runs very, VERY slowly - like a minute or more for a file of a few bytes before the code moves on (so that my display often goes to sleep before it finishes running). Second, no file arrives on the server when it's done. But the code does continue running and I don't

FTPClient.storeFile() uploads slowly and then doesn't work

限于喜欢 提交于 2021-02-18 18:11:40
问题 Android n00b trying to figure out file server upload. I'm having a lot of trouble trying to upload a file to my FTP server in Android using the storeFile method in FTPClient , testing on a Galaxy Nexus. Two problems. First, it runs very, VERY slowly - like a minute or more for a file of a few bytes before the code moves on (so that my display often goes to sleep before it finishes running). Second, no file arrives on the server when it's done. But the code does continue running and I don't

Suddenly getting “150 Opening Data channel for file download from server” after the FTP downloads was working for years

谁都会走 提交于 2021-02-07 04:28:49
问题 I make the file transfer application using ASP.NET with C# in which I transfer the files from the FTP location to my server location. This is working fine from last 5 years, but after that now I am getting below error. The remote server returned an error: 150 Opening data channel for file download from the server And code which I am using is below private string script = @"setTimeout(""__doPostBack('{0}','')"", 3000);"; protected int totalSteps = (intCount == 0 ? 1 : intCount); private int

I want to access files located on a FTP server and display it in my app

梦想与她 提交于 2020-12-30 03:48:00
问题 I want to access files located in a folder on the FTP server by giving ftp's hostname and display it in my app which is developed using the android studio. It should be dynamic, that is it should reflect all the changes done inside the folder of which I have given a specific URL, that is if something is deleted or inserted, it should be reflected in the app. I am unable to connect to FTP server and my app crashes. Below is the code of my app. Please have a look at the code and help me out.

I want to access files located on a FTP server and display it in my app

无人久伴 提交于 2020-12-30 03:44:52
问题 I want to access files located in a folder on the FTP server by giving ftp's hostname and display it in my app which is developed using the android studio. It should be dynamic, that is it should reflect all the changes done inside the folder of which I have given a specific URL, that is if something is deleted or inserted, it should be reflected in the app. I am unable to connect to FTP server and my app crashes. Below is the code of my app. Please have a look at the code and help me out.

I want to access files located on a FTP server and display it in my app

半世苍凉 提交于 2020-12-30 03:43:52
问题 I want to access files located in a folder on the FTP server by giving ftp's hostname and display it in my app which is developed using the android studio. It should be dynamic, that is it should reflect all the changes done inside the folder of which I have given a specific URL, that is if something is deleted or inserted, it should be reflected in the app. I am unable to connect to FTP server and my app crashes. Below is the code of my app. Please have a look at the code and help me out.