Cannot connect to the FTP server


I have a problem using Ftp Upload: cannot cannot to the server with “EOF” error message.
The server is Filezilla sftp server with basic mode for security. Is there some setting I need to set on the server side?

Here’s the bitrise log:

| (1) ftp-upload@2 |
| id: ftp-upload |
| version: 2.1.5 |
| collection: |
| toolkit: go |
| time: 2021-02-25T09:55:01Z |
| |
INFO[09:55:01] Start installing (golang) with apt-get
INFO[09:55:01] * [OK] Step dependency (go) installed, available.

  • HostName: [REDACTED]
  • Username: ***
  • Password: ***
  • SourcePath: test.txt
  • TargetPath: /CL-App-Releases/Android/bitrise-test.txt
    Connecting to server…
    2021/02/25 09:57:04 <
    Failed to connect to the ftp server, error: EOF
    | |
    | x | ftp-upload@2 (exit code: 1) | 2.1 min |
    | Issue tracker: |
    | Source: |


HI @pavel.budanov!

Sorry to hear about issue. Is there any way you can send us an URL to the build and enable Support User access? This can be done in the Settings. It would also be helpful to learn the context about the host you’re trying to reach, are there any restrictions in place like a Firewall?



Good to see you, Bence.

Here’s the build URL -
Support User access enabled.

As the host maintainer says, it’s simply a Filezilla sftp server with basic mode for security, no firewall:
Let me know if you want me to send you credentials somehow w/o publishing it here.



Thanks @pavel.budanov,

I highly suspect that address to be the problem. As the example suggests, ftp servers host names are usually in the following format:

Moreover, if I try to ping the address you provide here, I get ping: cannot resolve Unknown host both on my local machine and on the build machines.



Hi again,

It appeared there’s indeed Azure firewall there which blocks ping.

But I still can connect to that server using Filezilla FTP client.

It might be python ftp client used by Bitrise does not support session reuse that is required by Filezilla server:
If that’s the case, you might file an improvement for it based on this answer

In the meanwhile, I’ll try to convince our server team to soften server requirements.



closed #6

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.