FTP Failed!

Working on a mac 10.15.3 with Wappler 2.9.1

Shared hosting with multiple domains

Please help!

Testing Connection …

  • set color:use-color yes
  • set cmd:interactive yes
  • set file:charset utf-8
  • set xfer:clobber on
  • set ftp:timezone
  • set cmd:show-status yes
  • set cmd:set-term-status yes
  • set ftp:list-options -a
  • set cmd:fail-exit yes
  • set cmd:time-style “%Y-%m-%d %H:%M:%S”
  • set ftp:ssl-allow no
  • set ssl:verify-certificate no
  • set sftp:auto-confirm yes
  • set sftp:connect-program “ssh -a -x -v”
  • set net:max-retries 3
  • set net:timeout 20
  • set net:reconnect-interval-base 5
  • set net:reconnect-interval-multiplier 1
  • open -u user,pass sftp://mysite.com
  • cd /public_html/
    ---- Running connect program (ssh -a -x -v -s -l user mysite.com sftp)
    —> sending a packet, length=5, type=1(INIT), id=0
    <— OpenSSH_7.9p1, LibreSSL 2.7.3
    <— debug1: Reading configuration data /etc/ssh/ssh_config
    <— debug1: /etc/ssh/ssh_config line 48: Applying options for *
    <— debug1: Connecting to mysite.com [xxx.xxx.xxx.xxx] port 22.
    **** Timeout - reconnecting
    ---- Disconnecting
    ---- Running connect program (ssh -a -x -v -s -l user mysite.com sftp)
    —> sending a packet, length=5, type=1(INIT), id=0
    <— OpenSSH_7.9p1, LibreSSL 2.7.3
    <— debug1: Reading configuration data /etc/ssh/ssh_config
    <— debug1: /etc/ssh/ssh_config line 48: Applying options for *
    <— debug1: Connecting to mysite.com [xxx.xxx.xxx.xxx] port 22.
    <— debug1: connect to address xxx.xxx.xxx.xxx port 22: Connection refused
    <— ssh: connect to host mysite.com port 22: Connection refused
    **** Peer closed connection
    ---- Disconnecting
    ---- Running connect program (ssh -a -x -v -s -l user mysite.com sftp)
    —> sending a packet, length=5, type=1(INIT), id=0
    <— OpenSSH_7.9p1, LibreSSL 2.7.3
    <— debug1: Reading configuration data /etc/ssh/ssh_config
    <— debug1: /etc/ssh/ssh_config line 48: Applying options for *
    <— debug1: Connecting to mysite.com [xxx.xxx.xxx.xxx] port 22.
    <— debug1: connect to address xxx.xxx.xxx.xxx port 22: Connection refused
    <— ssh: connect to host mysite.com port 22: Connection refused
    **** Peer closed connection
    ---- Disconnecting
    cd: Fatal error: max-retries exceeded (connect to host mysite.com port 22: Connection refused)

Screen Shot 2020-05-16 at 7.56.08 PM

A couple of things to try:

  1. different Access Types
  2. IP address for the Server

I tried it on the on the FTP, it failed again.

Testing Connection …

  • set color:use-color yes
  • set cmd:interactive yes
  • set file:charset utf-8
  • set xfer:clobber on
  • set ftp:timezone
  • set cmd:show-status yes
  • set cmd:set-term-status yes
  • set ftp:list-options -a
  • set cmd:fail-exit yes
  • set cmd:time-style “%Y-%m-%d %H:%M:%S”
  • set ftp:ssl-allow no
  • set ssl:verify-certificate no
  • set net:max-retries 3
  • set net:timeout 20
  • set net:reconnect-interval-base 5
  • set net:reconnect-interval-multiplier 1
  • open -u user,pass ftp://mysite.com
    ---- Resolving host address…
    ---- 1 address found: xxx.xxx.xxx.xxx
  • cd public_html/mysite.com
    ---- Connecting to mysite.com (xxx.xxx.xxx.xxx) port 21
    <— 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
    <— 220-You are user number 1 of 50 allowed.
    <— 220-Local time is now 03:02. Server port: 21.
    <— 220-This is a private system - No anonymous login
    <— 220-IPv6 connections are also welcome on this server.
    <— 220 You will be disconnected after 15 minutes of inactivity.
    —> FEAT
    <— 211-Extensions supported:
    <— EPRT
    <— IDLE
    <— MDTM
    <— SIZE
    <— MFMT
    <— REST STREAM
    <— MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
    <— MLSD
    <— AUTH TLS
    <— PBSZ
    <— PROT
    <— UTF8
    <— TVFS
    <— ESTA
    <— PASV
    <— EPSV
    <— SPSV
    <— ESTP
    <— 211 End.
    —> OPTS UTF8 ON
    <— 200 OK, UTF-8 enabled
    —> USER user
    <— 331 User user OK. Password required
    —> PASS pass
    <— 530 Login authentication failed
    ---- Closing control socket
    cd: Login failed: 530 Login authentication failed

how can i change IP?

Screen Shot 2020-05-16 at 9.01.57 PM

do I need root access to do this?
I’m on a shared unlimited hosting account

so the boostrap from wappler did add to the cpanel files but the connection is still saying failed.

Help please



I just tried on a windows it says:
Cannot connect to your remote website! Server is down or you have wrong path in web server url

  1. Change “Web Server URL” to an IP address. This overrides any DNS issues.

  2. Change “Access Type” to plain FTP.

  3. Enter a port value. i.e. 21. Without the right port to the server you will never be able to connect.

  4. Logon to your hosting’s control panel and make sure you have created a FTP account on the server. In all likelihood you have since you entered a user and Password fields. But double check to be on the safe side.

  5. Click on “Test Connection” as you go through each step. But first, start with my step 3.

Hope that this helps you.

Hi Bruce,

Thank you but I made those changes and it doesn’t even let me run it. It says Invalid remote URL, should start with https:// or https://

I just tried with adding the url and keeping everything else like you mentioned it still failed. Not sure why

I would like to solve this, any help please

Well obviously your ftp settings are wrong.
Where is your ftp account pointing to? To the public_html folder or to the sub folder where you are to get into?

it’s a shared hosting account
should i point it to: the main domain the account is under or the sub folder? I tried both it didn’t work.

Should I have the domain on cpanel as a subdomain or domains?

How is your ftp account set up? Which folder does it point to?
You should have all the info you need to connect to the server in your hosting control panel…

i have two ftp accounts, one for the main domain and this for the other domain i added, here

Screen Shot 2020-05-18 at 2.39.12 PM

I just added the main domain info to see if it would connect it didn’t
Testing Connection …

  • set color:use-color yes
  • set cmd:interactive yes
  • set file:charset utf-8
  • set xfer:clobber on
  • set ftp:timezone
  • set cmd:show-status yes
  • set cmd:set-term-status yes
  • set ftp:list-options -a
  • set cmd:fail-exit yes
  • set cmd:time-style “%Y-%m-%d %H:%M:%S”
  • set ftp:ssl-allow no
  • set ssl:verify-certificate no
  • set net:max-retries 3
  • set net:timeout 20
  • set net:reconnect-interval-base 5
  • set net:reconnect-interval-multiplier 1
  • open -u user,pass ftp://ftp.user.com:21
    ---- Resolving host address…
    ---- 1 address found: xxx.xxx.xxx.xxx
  • cd /public_html/
    ---- Connecting to ftp.user.com (xxx.xxx.xxx.xxx) port 21
    <— 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
    <— 220-You are user number 1 of 50 allowed.
    <— 220-Local time is now 20:40. Server port: 21.
    <— 220-This is a private system - No anonymous login
    <— 220-IPv6 connections are also welcome on this server.
    <— 220 You will be disconnected after 15 minutes of inactivity.
    —> FEAT
    <— 211-Extensions supported:
    <— EPRT
    <— IDLE
    <— MDTM
    <— SIZE
    <— MFMT
    <— REST STREAM
    <— MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
    <— MLSD
    <— AUTH TLS
    <— PBSZ
    <— PROT
    <— UTF8
    <— TVFS
    <— ESTA
    <— PASV
    <— EPSV
    <— SPSV
    <— ESTP
    <— 211 End.
    —> OPTS UTF8 ON
    <— 200 OK, UTF-8 enabled
    —> USER user
    <— 331 User user OK. Password required
    —> PASS pass
    <— 530 Login authentication failed
    ---- Closing control socket
    cd: Login failed: 530 Login authentication failed

Screen Shot 2020-05-18 at 2.41.26 PM

so now both the main domain and the share domain do not connect. the ftp account details is not wrong to me

Something is not correct on the server. This is what I see, very irregular:

image