547 questions
2
votes
1
answer
102
views
Can't Upload to FTPS using Python's Ftplib
I have a script that I want to run daily via Cron that would first download files and upload files from a local directory to FTPS server.
I have created this script:
import ftplib
import ssl
import ...
0
votes
0
answers
79
views
FTPS Upload Freezes After Completion with libcurl in C++ (Error 425)
I’m using libcurl in C++ to upload a file via FTPS. The upload completes successfully (all bytes sent), but the connection freezes, and the server returns:
> 425 Data channel timed out due to not ...
2
votes
0
answers
97
views
Update z/OS Password Using PHP cURL Module
STARTEDIT:
The process below works and is the accepted answer. I don't know why but I can't reply with an answer, and I can only comment on this question, so I'm choosing to edit my initial question ...
0
votes
1
answer
90
views
FTP List, Download, Upload from az function using python
am getting this error 8:51:19 AM | Trace
@8F596749-638656982249418103
Error downloading or archiving file: EOF o...rred in violation of protocol (_ssl.c:2706), when am sending request to the az ...
1
vote
0
answers
162
views
ftp_put() warning data_accept: failed to retrieve the existing SSL session
I am trying to upload a file via ftps to a server by doing this:
$connectionId = ftp_ssl_connect($server, 21, 15);
if ($connectionId === false) {
throw new Exception("Could not connect to ...
0
votes
1
answer
237
views
How to manually deploy a NodeJS application to an azure wep app service (linux) via FTPS
I am trying to manually deploy payloadcms to azure web app services. I have locally run "npm run build" and created the build and dist folders. I then ftps into our server and copy the build ...
0
votes
1
answer
274
views
Indy TIdFTP TSL1.2 Error 534 Protection level C not allowed
I have an older Delphi project where in we use the TIdFTP client. I have been unable to get it to work there so I have started a side project where I can test the component. I am also running a ...
-1
votes
1
answer
96
views
Using Twisted to implement implicit FTPS server
I am writing an FTP server using the Python framework Twisted. Twisted has its own plain FTP implementation - but it doesn't support FTPS. I've noticed that most clients connect and immediately issue ...
2
votes
1
answer
292
views
nlst times out while connecting FTPS server with Python
I can login to with Total Commander to
server: ftps://publishedprices.co.il
username: "XXXX"
password empty
And with
lftp -u XXXX: publishedprices.co.il
But when I tried to login and get ...
0
votes
0
answers
470
views
TLS 1.3 support with FTPS on IIS on Windows Server 2022
We are unable to get TLS 1.3 to work with FTPS on IIS on a Windows Server 2022. FTPS on IIS has been working fine for many years, and it relies (to my knowledge) on the Windows Server's schannel for ...
0
votes
2
answers
82
views
how to move file from inbound remote directory to another remote directory using transactionSynchronizationFactory
I have a requirement is to read file from a FTP remote directory insert payload values into database and then move file from remote directory /in to remote directory /archive of same FTP server.
I am ...
1
vote
1
answer
55
views
Spring Integration java.io.IOException: Unable to determine system type - response: 550 Permission denied
I was getting Unable to determine system type - response: 550 Permission denied error while trying to poll files from ftp remote server.
Springboot version: 3.2.1
My FTPS session factory Java ...
2
votes
1
answer
83
views
transactionSynchronizationFactory in combination with database transaction not working
I am expecting my code to receive the file based on poller once it is created in remote directory then do a database insert and then move the file to another remote directory.
So far file is polled ...
1
vote
1
answer
191
views
Getting EOFError from retrlines() when using FTP_TLS from python ftplib
This one is not making any sense to me. Apologies for my poor python, I'm relatively new to the language.
The pertinent part of my program looks like:
from ftplib import FTP, FTP_TLS
...
try:...
0
votes
0
answers
143
views
RCurl cannot get files from Implicit FTP over TLS server - Access denied error 530
I'm in R trying to pull csv data from an FTP server which "Requires implicit FTP over TLS". With some help from this answer I was able to connect to the server using the following code:
# ...
0
votes
1
answer
298
views
RCurl Failed to connect to port 21 FTP Timed out
I'm in R trying to pull csv data from multiple FTP servers. So far, my code works fine in two of the servers and I'm able to gather the data I need, but a third one throws the folling error:
Error in ...
0
votes
0
answers
164
views
How can I connect to my FTPS server made with Java?
I recently created an FTPS server in Java and now I want to connect to it.
Firstly I create a keystore file using Powershell Terminal :
keytool -genkey -alias mykeystore -keyalg RSA -keystore keystore....
0
votes
1
answer
565
views
pyftpdlib server resets client connection in PASV/EPSV mode: curl: (13) Bad PASV/EPSV response: 200
I am trying to download a file to a device over FTPS. I am using curl (7.88.1, OpenSSL/1.1.1u) as the client on the remote machine and pyftpdlib (1.5.7) to implement the FTP server on the local ...
0
votes
1
answer
110
views
FTP_TLS client hangs even though curl is working
We are able to connect to a server which is using explicit FTPS using curl with the following command:
> curl --ssl --list-only --user USER:PASSWD ftp://ftp.COMPANY.com:port/public
Yet this code ...
0
votes
0
answers
394
views
FTPS Upload works with cURL command but not with Apache Commons FTPClient
The following command works to upload a file to our FTPS service provider:
curl --ftp-ssl -T test.txt ftp://username:[email protected]/public/test.txt
I would like to achieve the same ...
0
votes
1
answer
2k
views
How to connect to FTPS server (TLS-enabled secure FTP connection) on Java 17
We went through couple of solutions provided on tranferring files using FTPS. They are working fine with lower versions of Java like Java 11 etc. But are facing the same "SSL peer shut down ...
2
votes
0
answers
677
views
javax.net.ssl.SSLException: Improper close state: Status = OK HandshakeStatus = NEED_WRAP bytesConsumed = 0 bytesProduced = 7 sequenceNumber = 0
I am getting the below error when I tried to connect FTP server which is running in an open shift cluster. I want to upload the file to the FTP server with the below code.
I have referred to the below ...
-1
votes
1
answer
2k
views
How to connect to FTPS (FTP Tls) server in python
how can I connect to an FTPS server and download files in it?
Currently I am using the following code to retrieve some files in FTPS Server built with Docker.
import ftplib
import os
from dateutil ...
0
votes
1
answer
316
views
Python ftplib fails with FTPS but WinSCP works
I have following code:
import pysftp
user = ...
password = ...
host = ...
port = 21
class FtpDirectory:
def __init__(self):
self.ftp = None
def __enter__(self):
self.ftp = ...
1
vote
1
answer
1k
views
Use FTPS (by sending AUTH TLS) with wget
I am trying to download file from FTP server using wget:
wget --debug --no-passive-ftp --ftp-user=user --ftp-password=password ftp://server/file.gz file.gz
What I get is:
220 Private FTP server
...
0
votes
2
answers
830
views
Airflow FTPS Hook with Certificate/Key
good evening!
I am having some issues connecting to an external FTPS server using Airflow's FTPS Hook.
Here's a condensed version of my function which runs in a python operator:
def ...
0
votes
2
answers
2k
views
Connect to FTPS server with Golang
I try to use ftp package to establish default ftps connection:
c, err := ftp.Dial("some_srv:some_port", ftp.DialWithTLS(nil))
if err != nil {
log.Fatal(err)
}
and get astonishing self-...
-1
votes
1
answer
372
views
Send file to ftp-server
I need to transfer an file created but I keep getting the following error:
Warning: ftp_put(): Can't open data connection for transfer of "/server.txt"
I can access the ftp via an ftp ...
1
vote
1
answer
297
views
Issues with FTPS connection on port 990 in VScode
I'm trying to setup my FTP in VSCode using the sftp extension but I can't get it to connect, it says it's timing out every time. The issue is that my SFTP config from sublime text has always worked on ...
0
votes
0
answers
177
views
Problem Uploading File Using FTPS Protocol
I'm try to upload file using FTPS.
Currently I use the library org.apache.commons.net.ftp.FTPSClient;
This is part of code that I use:
FTPSClient ftpClient = new FTPSClient("SSL", true); ...
2
votes
1
answer
1k
views
PHP FTP file transfers fail/hang when connected using secure ftp_ssl_connect (but works with ftp_connect)
I have a PHP script that works when using ftp_connect, but when using ftp_ssl_connect it doesn't work.
Does anyone know why?
When running the script on a remote server that only requires ftp_connect, ...
2
votes
0
answers
333
views
Spring integration FTPs Unable to list files
I have a problem on a spring boot project
I need to retrieve files periodically on a FTPs but spring can't list the files
I have followed the updated documentation (https://docs.spring.io/spring-...
1
vote
1
answer
1k
views
How to deploy in visual studio with FTPS
IIS has an option for FTP with required SSL (FTPS) otherwise your credentials, including password, are sent in plain text over the network or to server. Can visual studio deploy via FTP with security ...
0
votes
1
answer
1k
views
In C# how to upload file on FTPS server Encryption Type 'Required Explicit FTP over TLS'
I need the expert help. I have written the C# console base application. In which I have to upload the zip file to FTPS server. Every time I am getting the connection refuse error. But when I connect ...
0
votes
0
answers
485
views
227 Entering Passive Mode Error using C# FtpWebRequest connecting to a IBM Mainframe
Try to upload a file to an IBM Mainframe using FtpWebRequest give the 227 Entering Passive Mode error, using WinSCP console works just fine. I have visited all possible posts here on StackOverflow ...
2
votes
1
answer
1k
views
"ftplib.error_perm: 550 Operation not permitted" when trying to download the second file from the same directory using FTP_TLS
Got this error while running my script: ftplib.error_perm: 550 Operation not permitted
ftpdownloader.py :
import ftplib
import threading
import logging
import os
class Client:
def __init__(self, ...
0
votes
1
answer
105
views
Creation of FTP credentials for Wordpress local
I've installed wordpress local on my computer with xampp, it's working but now I need to transfer my wordpress.com on my wordpress local. I want to add an extension but it's asking me my FTP ...
1
vote
1
answer
3k
views
AWS Lambda - sFTP - Task timed out after 3.01 seconds"
I would like help and or opinion on how to proceed with this Python. The idea is that it is started through an AWS Lambda trigger and takes the new event (file) from S3 and sends it to my sFTP server.
...
0
votes
1
answer
449
views
cURL Implicit FTPS Connection Timeout
I'm trying to upload a txt file (2KB in size) using PHP cURL to Sharefile via implicit FTPS, however I'm receiving:
Connection timed out after 30000 milliseconds
Closing connection 0
My code is ...
0
votes
1
answer
258
views
Java - CopyStreamException due to SSLProtocolException when storing file's contents in FTP server
I'm facing an issue when trying to store a file in an FTP server. When trying to upload a file to the FTP server, the file is created but its contents are not copied.
Context
We use the following ...
0
votes
0
answers
820
views
How can I get files from an FTP Server using implicit FTP over TLS [duplicate]
I'm trying to fetch files from an FTP Server using implicit FTP over TLS.
This works fine in Filezilla.
However, following code in Python 3.9.5
from ftplib import FTP_TLS
import ssl
import sys, os
...
1
vote
0
answers
225
views
apache FTPS with proxy get timeout when transferring file
I am trying to use an ftps client with proxy.
I am using this library by apache: org.apache.commons.net.ftp;
The problem is, that it looks like when I set proxy to the ftps client, it is connecting ...
1
vote
1
answer
625
views
Connect to Explicit FTPS (FTPES) with Python (error) [duplicate]
I'm uploading a file ftp and keep getting a "ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:2756)" error.
class MyFTP_TLS(ftplib.FTP_TLS):
"""Explicit ...
4
votes
0
answers
500
views
How to make TLS resumption work in the .Net framework?
I have C# code that uploads a file to an FTP server. Now TLS 1.2 is used and I adapted the code for this, but there is still a problem with TLS session resumption.
According to this link Microsoft ...
0
votes
1
answer
112
views
FTP FileUpload Error: An exception occurred during a WebClient request. InnerException: This method is not supported. (Parameter 'value')
I'm trying to upload a file from IFormFile to FTPS using WebClient.
private async Task SaveFileToFtp(IFormFile file)
{
WebRequest.RegisterPrefix("ftps", new FtpsWebRequestCreator());
...
2
votes
0
answers
1k
views
FTPSClient Problem to Upload a File - 425 Unable to build data connection
I'm triying upload a file with FTPS with FTPSClient, but for any reason it's not working.
I'm doing the upload to the FPS Server as can see below:
FTPSClient client = null;
logger.info(&...
1
vote
0
answers
266
views
FTPS with GitHub Actions output SSL_connect: wrong version number
I am trying to build a GitHub Action that, upon pushing website content on a private repository, deploys the content to a remote web hosting server, through FTP over SSL (the only option available)
...
0
votes
1
answer
2k
views
File transfer from FTPS to SFTP using python
I am doing some performance test to transfer large files (~ 4 GB) from FTPS to SFTP server.
I did some research and tried python script to see if there is any performance improvement to get a file ...
0
votes
0
answers
144
views
Connecting to FTPS server from EC2 instance
I have a PHP script running on my EC2 instance which uses cURL to connect to a remote FTPS server on port 990. When I run the script in local or in my other production server, the script runs without ...
1
vote
1
answer
1k
views
FTPS data connection with TLS/SSL via proxy fails with log entry "Replacing PASV mode reply address <PROXY_IP> with <FTPS_IP>"
I have an issue while connecting to a FTPS server with TLS/SSL Implicit encryption via PROXY.
I am following the custom Apache FTPS Client (commons-net-3.8.0) solution provided from Java FTPS client ...