Questions tagged [ftp-client]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Not able to connect to ftp server using filezilla through ngrok

I am using ngrok to expose ftp server publically. When I am connecting to ftp server using file zilla client it is showing error which is "Server sent passive reply with unroutable address. Using ...
Sourabh Bharamkar's user avatar
1 vote
0 answers
72 views

Does FTPClilent commons-net:3.9.0 not supported on Android 7 and below?

I am using Apache Commons Net to download files through FTPClient. There is no problem when using version 3.8.0. But after upgrading to 3.9.0 the app crashing on instantiating the FTPClient with the ...
user21928976's user avatar
0 votes
0 answers
34 views

Changes Not Taking Effect on Live Website

I am currently facing a critical issue with my website hosted on the WinHost platform. I have made changes to the code of the server and restarted the application pool after uploading the updated ...
Harshit Sonani's user avatar
0 votes
1 answer
80 views

Problems with connecting with it.sauronsoftware.ftp4j.FTPClient to SFTP

I am having problems connecting with it.sauronsoftware.ftp4j.FTPClient. I want to use SFTP but always get errors. If I use: sftpClient.setSecurity(FTPClient.SECURITY_FTPES) I get: ERROR c.l....
SAFSAF SAFSAF's user avatar
2 votes
0 answers
41 views

ClickOnce Application keeps Failing

I'm trying to publish my ClickOnce application, It's showing success In the OutPut Publish success. http://cardknoxdemo.com/solutionsteam/publish.htm ========== Build: 1 succeeded, 0 failed, 1 up-to-...
devory's user avatar
  • 23
0 votes
0 answers
87 views

Mock FtpClient for Unit Test - C#

I am writing unit tests in C# using the Moq framework. How can I mock the following line of code? FtpClient client = new (Host, Username, Password, Port); client.Connect(); What should I put in place ...
Keer's user avatar
  • 27
0 votes
0 answers
19 views

Image malformed downloading from FTP

I have an app where I download a sqlite database from FTP. The file works fine, if I upload into the tablet to the data folder works fine, but if I download with FtpClient as soon as I try to ...
PAR's user avatar
  • 13
1 vote
1 answer
97 views

Specify external IP address for active mode in Python ftplib

I'm using active mode for transfers with my FTP server. In WinSCP and FileZilla there is an option for network external IP. If I give my IP in those boxes, I'm able to connect to the FTP server with ...
Naveen Kumar's user avatar
0 votes
0 answers
19 views

Error 425 occuring every time I use PUT or LIST command on Windows 10 [duplicate]

I've tried pasv and port and nothing works. Here is the commands and responses copied from my console: ftp> user dlpuser 331 Please specify the password. Password: 230 Login successful. ftp> pwd ...
xxx's user avatar
  • 43
1 vote
2 answers
880 views

Using WinSCP to move files to a local path

I am currently using WinSCP to synchronize files between a remote path and a local path to a desktop computer. I would like to change this so that either of the following occurs: Move files from the ...
ecuso's user avatar
  • 71
0 votes
0 answers
31 views

Is there a way to assign a ftp server returned value to a variable?

I'm trying to use a return from a test FTP server connection with the "basic-ftp" lib. In this example I would like to get the readme.txt file, convert it to string and assign to a variable. ...
ALBINO33's user avatar
0 votes
0 answers
85 views

Getting "The underlying connection was closed: An unexpected error occurred on a receive." on FTPWebResponse.close()

I have a VB.Net function that will check if the FTP directory exists, otherwise create the directory. The function works fine at first, but when the number of files in the FTP directory has reached a ...
Yuz Lu's user avatar
  • 1
0 votes
1 answer
216 views

Java FTP client does not download the whole file

I need to download files (currently images) from an FTP server by a Java client, and return it to a web application. The problem is: A few kilobytes (maybe 64KB) of the image is downloaded, but the ...
Saphyra's user avatar
  • 450
1 vote
1 answer
95 views

WS_FTP PRO wsftppro.exe command line using Connection Configuration

I am trying to create BAT file to run WS_FTP PRO wsftppro.exe command line using Connection Configuration. I save Connection Configuration is working in the UI, however, when trying to call it in ...
Ravi Ram's user avatar
  • 24.2k
0 votes
0 answers
93 views

Get file type with Apache FTPClient

We are having issues where sometimes no error is thrown when a file is partially uploaded over FTP. For example, if we transfer an image only half of it will be transferred and then it will return ...
Pramod's user avatar
  • 401
0 votes
0 answers
99 views

text encoding in ftp download app causing errors

I have created a script to download files from an ftp endpoint. I was assured that the files would be in utf-8 encoding but upon downloading and parsing the xml, we encounter bad formatting. The ...
vbNewbie's user avatar
  • 3,311
0 votes
1 answer
327 views

How to send multiple commands to FTP server with python 'socket'?

I'm trying to print file catalogue from FTP server. I have two sockets: first to send commands to the server, second to get requested data. To parse data, I want to send LIST command multiple times, ...
Sun of A beach's user avatar
2 votes
0 answers
780 views

Error: SocketException: Connection reset by peer (OS Error: Connection reset by peer, errno = 104) flutter FTPConnect

I use image_picker and ftpconnect to take a picture and upload it into distant FTP Server, but when my program is at ftpConnect.uploadFile(filePath) I have the following error: \-- Error: ...
Okazaki's user avatar
  • 21
0 votes
1 answer
150 views

Read Last Row of CSV file from FTP

I have a csv file sitting in an FTP Server. I am able to download the file completely using the ftplib in python, but it is like extra compute and internet burden for me. My main concern is to read ...
Janzaib M Baloch's user avatar
0 votes
0 answers
154 views

Blade laravel not working in ftp-simple, what's the solution?

I have a problem when I use Laravel 7 and upload code in Cpanel. I want to add a page using the "ftp-simple" extension, for editing and adding, but the blade function doesn't work. The ...
Angga's user avatar
  • 1
1 vote
0 answers
196 views

EOFException while connecting local SFTP server in Java code

Getting below exception in Java while connecting local SFTP server It's not reproducible other similar setups. Username and password both are correct. What could be the root cause of it? What ...
SwapG's user avatar
  • 11
0 votes
1 answer
256 views

Check the passive port in Spring Integretion FTP

https://medium.com/nerd-for-tech/retrieving-files-from-ftp-server-using-spring-integration-5ccc4a972eaf I'm implementing FTP behavior based on the above site. In the above site, I've only added ...
anna's user avatar
  • 1
1 vote
1 answer
318 views

How to wait until whole files is downloaded from ftp server in Java?

One ThreadPool is downloading files from the FTP server and another thread pool is reading files from it. Both ThreadPool are running concurrently. So exactly what happens, I'll explain you by taking ...
Malav Mevada's user avatar
0 votes
1 answer
585 views

Show files from ftp server in angular app

a few days ago i saw these two sites https://www.monstaftp.com/demo/ and https://www.filestash.app/de/ftp-online-client.html I have an angular app in which the files have to be downloaded from an ftp ...
Schmetti's user avatar
1 vote
0 answers
149 views

NodeJS FTP not throwing error when trying to delete non-existent file

I am working with ftp-npm and I am currently facing a weird bug... I have a method called refreshStore that contains this part of code : c.delete('/pathToMyFileOnFTPServer', function(err) { ...
Anis's user avatar
  • 21
1 vote
0 answers
21 views

"Cannot read properties of undefined (reading 'get')" ftp nodeJS [duplicate]

I am struggling with this error since yesterday : Cannot read properties of undefined (reading 'get'). I am using ftp NodeJS module. I have instanciated an c attribute in my class like this : ...
Anis's user avatar
  • 21
5 votes
2 answers
4k views

.Net 6: Correct way to create a FtpWebRequest-object

In C# using .Net6 we can interact with an FTP-server using an FtpWebRequest-object. This works well. But how should we create this object? Currently we use WebRequest.Create() and Microsoft says we ...
anion's user avatar
  • 1,625
0 votes
1 answer
289 views

Apache commons FPTSClient explicit transfer file is incomplete

Iam currently struggling a little bit with the FTPSClient from Apache Commons. See code down below. I try to write a file to FTP Server (vsftpd) when using FTPClient things are working perfectly fine. ...
shoxounet's user avatar
2 votes
0 answers
2k views

How to handle "Background concurrent copying GC freed" to keep or increase the app performance?

During testing an android app on a real device, I need to list the remote directory contents on a ftp server recursive with the method below via FtpClient from the Apache Commons Net 3.8.0 library. ...
TomInCode's user avatar
  • 670
0 votes
0 answers
359 views

Java FTPClient listing or retrieving file is working from Windows not working from Linux - hanging at listFiles()

ftp.connect(host, 21); System.out.println("successfull connected"); ftp.login(user, pass); ftp.changeWorkingDirectory(dirPath); System.out.println("successfull logged in"); ...
Ganesh Kumar's user avatar
0 votes
1 answer
713 views

Apache FTPClient.retrieveFileStream(String) returns null

I am using Java 11 and SpringBoot. I am trying to create a FTPClient to read files from an existing FTP server. Using Apache FTPClient. Problem: InputStream is = ftp.retrieveFileStream(file.getName()...
Richard's user avatar
  • 8,325
1 vote
1 answer
464 views

Do we have support for TLS 1.3 in .NET Framework v4.8?

We have an FTP Client written in .NET Framework v4.8 using TCP. We notice that the our FTP client application does not connect an FTP Server that has TLS 1.3 support. We are running the FTP Client in ...
GanYo's user avatar
  • 51
1 vote
1 answer
2k views

Download FTP file to S3 through AWS Glue, S3 path is not recognized

on a AWS Glue Job, I'm using ftplib to download files and store them to S3, with the following code: from ftplib import FTP ftp = FTP() ftp.connect("ftp.ser.ver", 21) ftp.login("user&...
xiexieni9527's user avatar
1 vote
3 answers
2k views

Cannot connect to S3 bucket via Transmit, only via AWS CLI

I have this S3 bucket that I can connect to through AWS CLI. First I go to Terminal and set it up: aws configure AWS Access Key ID [****************]: ACCESS_KEY AWS Secret Access Key [****************...
Worthing's user avatar
1 vote
0 answers
796 views

Error connecting to ftp server through goftp

I'm trying to connect to an FTP server and upload a file for test. (I'm new to FTP as well as golang.) Below is the code I'm using to Dial a connection and upload a file. package main import ( &...
Siddhant Sahni's user avatar
0 votes
1 answer
171 views

FTPClient.connect always waiting

public static FTPClient connect(String hostname, int port, int mode, String encoding) { FTPClient ftpClient = null; try { ftpClient = new FTPClient(); //FTPClient....
暮色妖娆丶's user avatar
1 vote
1 answer
237 views

Apache Commons FTPClient Not Retrieving All Bytes From Source File [duplicate]

I have a fairly basic 3.8.0 FTPClient use case: FTPClient ftpClient = new FTPClient() ftpClient.connect(hostName, hostPort) if(FTPReply.isPositiveCompletion(ftpClient.getReplyCode())) { ftpClient....
Ramón J Romero y Vigil's user avatar
0 votes
1 answer
493 views

Get FileInputStream from uri to upload image

I am successfull in getting image from Gallery or Camera without WRITE_EXTERNAL_PERMISION AND READ_EXTERNAL_PERMISION Now I want to upload that image to FTP Server ImageSetter.kt class ImageSetter( ...
Taimoor Khan's user avatar
4 votes
3 answers
3k views

Uploading a file to testcontainer FTP server fails with Connection refused after being connected

I'm working with FTPClient against an FTP server using Testcontainers. A reproducible code sample is here: import org.apache.commons.net.PrintCommandListener; import org.apache.commons.net.ftp.FTP; ...
orirab's user avatar
  • 2,985
1 vote
1 answer
99 views

Understand programmatically if ftp client will fetch a dataset from zOS with RDW or without

If I connect using FTP to zOS, I can run rstatus command and in 68 lines returned I get one of the two following human readable lines: RDWs from variable format data sets are discarded. RDWs from ...
Avi's user avatar
  • 33
2 votes
1 answer
1k views

use FTP (only option) to sync files in a directory with a single line command in linux

I need to synchronize files in my computer with server to which I have only FTP access and I would prefer a single line to add to crontab which checks every day that new or updated files are ...
user855443's user avatar
  • 2,626
0 votes
0 answers
294 views

DJANGO-STORAGES, PARAMIKO: connection failure for global connection

I have a strange problem using the SFTP-API from django-storages(https://github.com/jschneier/django-storages). I am trying to use it in order to fetch media-files, which are stored on a different ...
Sarius's user avatar
  • 125
0 votes
1 answer
758 views

Detecting FTP server file name encoding using Apache Commons Net

Is there a simple way to get or detect FTP server file name encoding using Apache Commons Net? Why FileZilla client can always get right encoding and show right file name? How does it do that?
Guo's user avatar
  • 1,761
0 votes
2 answers
350 views

Efficient way to load large json object with ftp:///

I have a large json object (up to 200 MB or more). It stores the values required to render graph by plotly.js. I have tried to incorporate the json object into html by using text/javascript and ...
PWbio's user avatar
  • 61
0 votes
1 answer
499 views

golang FTP PASS (password) command works locally, but doesn't while running on ECS

I have a go server that uses github.com/jlaffaye/ftp library for getting FTP files from a remote server. I first of all get the connection conn, err := ftp.DialTimeout(cfg.Host+cfg.Port, time....
Justin Obanor's user avatar
0 votes
1 answer
428 views

Connection to FTP server works from Filezilla but returns 530 from ftpClient Apache Commons in Android

I want to send some files to an FTP server from Android. I have the server IP address, username, and password. I tried to connect to it from Filezilla and it works, however, if I try to connect from ...
Felipe Serna's user avatar
0 votes
1 answer
467 views

How to check if FTP server is alive?

I need to check if a FTP server is alive, is this server: ftp://speedtest.tele2.net/upload/ I tried with this code: FTPClient ftp = new FTPClient(); try { ftp....
NullPointerException's user avatar
0 votes
1 answer
711 views

FTPClient.storeFile() Began Failing [duplicate]

I have a Java program that uploads new/changed files to my Web site via FTP. It currently uses the Apache Commons Net Library, version 3.8.0. After moving to a new city, the program, which I’ve been ...
aksarben's user avatar
  • 600
0 votes
1 answer
3k views

List FTP files with goftp

I am trying to write a simple Go program which connects to an FTP server, list the files in a specified directory and pulls them. The code is this: package main import ( "bytes" &...
Oren Oichman's user avatar
0 votes
0 answers
260 views

Connecting to an Ftp client works for one program but not for the other

I have written an application (in Delphi) which connects to an FTP server. My application gets timeout error when connecting Connecting to the same Ftp server with Total Commander with the same ...
starhu's user avatar
  • 369

1
2 3 4 5
15