Questions tagged [ftp-client]

is for questions dealing with the clients used for the file transfer protocol.

FTP, or File Transfer Protocol, is a way of exchanging files over a network. It uses a client-server architecture with dual connections between them; one for control and one for data.

FTP Wikipedia Article

732 questions
7
votes
5 answers

Error in "MLSD" command While Connecting FTP to Server

I have a Web Hosting Server with Full Access of Settings. I am a Web Developer, so FTP is my daily use for updating a website. I am using a FTP client, After setting the server information, when i tried to connect, i recived an error while FTP…
Shahrukh
  • 1,486
  • 5
  • 16
  • 20
6
votes
0 answers

FTPClient.retrieveFile returns false, but file is still downloaded

I'm attempting to retrieve a file from an FTP server, using this code. private class FtpTask extends AsyncTask { protected Long doInBackground(Void... args) { FTPClient FtpClient = new FTPClient(); int reply; …
David
  • 2,298
  • 6
  • 22
  • 56
6
votes
2 answers

Node FTP doesn't execute `once('close')` callback when downloading file is large

I have a method to download file from FTP server and it works fine on smaller files, but when I use it to download file of ~5GB size of zip type, it downloads it, but after that it doesn't do anything. When it reaches 100% of downloading, then…
Kunok
  • 8,089
  • 8
  • 48
  • 89
6
votes
3 answers

invalid IPv6 address

I got the Error Message: Error occurs in downloading files from ftp Server : ftp://speedtest.tele2.net: invalid IPv6 address from this lines: String serverAddress = "ftp://speedtest.tele2.net"; FTPClient ftp = new…
AbsolutBeginner
  • 75
  • 1
  • 2
  • 7
6
votes
1 answer

How to recursivelly delete all files with certain name with FileZilla

I would like to know how can I delete files in bulk with FileZilla. One of my websites have been hacked, and I know that they introduced an info.html file in almost all my WordPress folders. So my question is, if there is a way to bulk delete all…
Alex
  • 517
  • 4
  • 9
  • 22
5
votes
2 answers

delete all files in a folder at FTP using ftp batch script

Have batch script as follows: >>ftp.txt open ftp.site.com >>ftp.txt username >>ftp.txt password >>ftp.txt directoryname >>ftp.txt quit ftp -s ftp.txt How can I delete all files in folder 'directoryname'?
user1153798
  • 321
  • 2
  • 6
  • 9
5
votes
1 answer

FTP Client keeps getting denied permission to upload by Server

I am trying to write an FTP Client and Server that will allow me to send a file from the client to the server via anonymous FTP. However, I keep getting 550 Permission Denied. I am able to do other things like download a file from the server, or get…
NspectorHector
  • 143
  • 1
  • 8
5
votes
0 answers

Issues with apache commons ftp client timeout

I'm doing a ftp file download from a server with help from an Apache library (commons.net ver 3.2). The download was fine and I received all the file that I needed and saved them in a folder. The problem that I have is with the timeouts because when…
user2144091
  • 21
  • 1
  • 2
5
votes
3 answers

FTPClient Pool - Java

I am writing a Rest Service that connects to an FTP server to read some files, then do some operations over the read data to serve the service request. I am using Apache commons FTPClient. As a temporary solution, I am creating an FTPClient object -…
5
votes
3 answers

FTP error "530 Login authentication failed"

When I try to connect to my ftp server through firefox or IE I got this message: 530 Login authentication failed Why I get this message? User name and password are correct. Are their any requirements that I need to do on the local machine before…
Rachi
  • 51
  • 1
  • 2
  • 6
5
votes
1 answer

FTP commands send vs put

I am having some issues with a dos file we run over night that sends some files to another companies ftp server, The other company has checked their logs and we are connecting and are able to log in but no files are ever transferred. I was…
user1329836
  • 95
  • 1
  • 2
  • 9
4
votes
2 answers

Commons FTPClient InputStream from multiple files in a single connection

My requirement is to get list of files of required file extension from different directories and while getting the files itself i should get the input stream and do some processing.... I am trying to get the list of files with required file…
LetMeCode
  • 41
  • 1
  • 3
4
votes
1 answer

second call to storeFileStream in FTPClient returns null

I'm using apache's commons-net FTPClient to upload files. I'm using storeFileStream method. This works well for first call but on the second call it returns null and .getReplyStrings() returns "200 PORT command successful" ! My Code is (that is…
Ariyan
  • 14,760
  • 31
  • 112
  • 175
4
votes
2 answers

upload progress in FTPClient

I'm using commons-net FTPClient to upload some files. How can I get progress of upload (number of bytes uploaded up now)? Thanks
Ariyan
  • 14,760
  • 31
  • 112
  • 175
4
votes
4 answers

Non-interactive command-line FTP client alternative to weex

I'm looking for a good non-interactive, command line FTP client to be run from a Rakefile. Like Weex, but better. Weex has different problems (for me): It stores its config file in my home dir. I want the FTP config to be part of my project and…
Halfgaar
1 2
3
48 49