-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FTP Upload task can't connecting (FTPS). #11944
Comments
The same issue found today. Used classic definition. |
I have the same issue, also I with Ionos provider, it seems that the V1 of the task resolve the issue |
I also have the same issue (with 1&1 Ionos), but also using V1 of the task didn't help. |
The same issue with v2, v1 does nothing |
I have a hunch this is because the FTPUpload task is suppressing the underlying basic-ftp package's feature to connect using implicit TLS negotiation. Basically, the basic-ftp client has an option named "secure", which can be either "true" (explicit TLS), "false" (no TLS) or "implicit" (implicit TLS). The FTPUpload task won't use the "implicit" option, though. It will either set it to "true", if your server URL starts with "ftps://" or false, otherwise. |
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
Still not working in 2022, same issue |
any idea please ? |
This issue is closed. You can't expect the situation to change by itself. Either create a new issue or fix it yourself and submit a PR. If you're opting for the latter, see my comment above for my idea what the problem might be. |
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
I try to upload some files to FTPS. The Provider is IONOS (1&1).
The login data are:
I can login in Filezilla, but the FTP Upload task in my pipline yml file failed.
Starting: FtpUpload
Task : FTP upload
Description : Upload files using FTP
Version : 2.157.0
Author : Microsoft Corporation
Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/ftp-upload
connecting to: accessXXXXX.webspace-data.io:990
[debug]Connected to 212.227.192.101:990
[error]Error: Timeout (control socket)
[debug]Processed: vso[task.issue type=error;]Error: Timeout (control socket)
[debug]task result: Failed
[error]Ftp Upload failed
[debug]Processed: vso[task.issue type=error;]Ftp Upload failed
[debug]Processed: vso[task.complete result=Failed;]Ftp Upload failed
[section]Finishing: FtpUpload
My taksk in der yml file:
..
task: FtpUpload@2
inputs:
credentialsOption: 'inputs'
serverUrl: 'ftps://accessXXXXX.webspace-data.io:990'
username: 'XXXXX'
password: 'XXXXX'
#rootDirectory: '/'
filePatterns: '**'
remoteDirectory: '/'
clean: false
cleanContents: false
preservePaths: false
trustSSL: true
...
My provider support only ftps access.
A test with a other FTP (only ftp) worked correct.
I don't know what is my error?
The text was updated successfully, but these errors were encountered: