SFTP problems on Windows

Has there been any update to this? Ive been waiting to use wappler and held off activating my indego because of the errors with SFTP.

I dont have to install GIT with dreamweaver to connect to the same environment on windows. This should just work.

Hi @gyco7,
are you experiencing any issues after following the git installation guide above? Are you sure you followed the second step marked in red?

I did select that radio option. I didnt install anything extra.

So, do you have issues using SFTP options currently?

I can not connect using SFTP.

Testing Connection …
cd: Fatal error: max-retries exceeded (execl(/bin/sh) failed: No such file or directory)
Testing Connection …
cd: Fatal error: max-retries exceeded (execl(/bin/sh) failed: No such file or directory)
Testing Connection …
cd: Fatal error: max-retries exceeded (execl(/bin/sh) failed: No such file or directory)

If there is something additional to step two, moreover just selecting the option, I did not do that.

thanks

No, that’s all that is required when installing GIT.
Maybe @patrick should check this more detailed.

well seems the required commands can’t still be found.

Are you sure you selected to install Git and the Unix tools?

As explained in the:

second screenshot.

To check this open a command prompt and type:

where ssh

and also

where sh

and see what the output is and if it leads to the C:\Program Files\Git\usr\bin folder where Git for Windows is installed.

Thanks for your time. I did install git and the Unix tools. With the recent updates I am copy and pasting the output below the CMD output.

Z:>where ssh
C:\Program Files\Git\usr\bin\ssh.exe

Z:>where sh
C:\Program Files\Git\usr\bin\sh.exe

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:passive-mode no
  • 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://xxx.xxx.xxx.xxx:22
  • cd /var/www/html/
    ---- Running connect program (ssh -a -x -v -s -l user -p 22 xxx.xxx.xxx.xxx sftp)
    —> sending a packet, length=5, type=1(INIT), id=0
    <— execl(/bin/sh) failed: No such file or directory
    **** Peer closed connection
    ---- Disconnecting
    cd /var/www/html/' [execl(/bin/sh) failed: No such file or directory---- Running connect program (ssh -a -x -v -s -l **user** -p 22 xxx.xxx.xxx.xxx sftp) ---> sending a packet, length=5, type=1(INIT), id=0 <--- execl(/bin/sh) failed: No such file or directory **** Peer closed connection ---- Disconnecting cd/var/www/html/’ [execl(/bin/sh) failed: No such file or directory---- Running connect program (ssh -a -x -v -s -l user -p 22 xxx.xxx.xxx.xxx sftp)
    —> sending a packet, length=5, type=1(INIT), id=0
    <— execl(/bin/sh) failed: No such file or directory
    **** Peer closed connection
    ---- Disconnecting
    cd: Fatal error: max-retries exceeded (execl(/bin/sh) failed: No such file or directory)
1 Like

That is a helpful report @patrick will check it out

1 Like

Just found the system check button. And ran it for good measure, came back with this, cheers:

Checking LFTP installation and version…
LFTP | Version 4.8.4 | Copyright © 1996-2017 Alexander V. Lukyanov

LFTP is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with LFTP. If not, see http://www.gnu.org/licenses/.

Send bug reports and questions to the mailing list lftp@uniyar.ac.ru.

Libraries used: Expat 2.2.5, GnuTLS 3.6.1, idn2 2.0.4, libiconv 1.15, Readline 7.0, zlib 1.2.11
LFTP is correctly installed.

Checking NodeJS installation and version…
‘node’ is not recognized as an internal or external command,
operable program or batch file.
NodeJS is missing!

Please download and install the latest from:


Make sure you restart Wappler after the installation.

Node is not installed. You might need it if you want to publish Mobile Apps!

Checking GIT installation and version…
git version 2.19.2.windows.1
GIT could not detect version!

Git is not installed. You might need it if you want to publish with Git!

After installing Node.js, the git version check in the system check was able to find the GIT version.

I appreciate your efforts. I look forward to testing when its available.

Checking LFTP installation and version…
LFTP | Version 4.8.4 | Copyright © 1996-2017 Alexander V. Lukyanov

LFTP is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with LFTP. If not, see http://www.gnu.org/licenses/.

Send bug reports and questions to the mailing list lftp@uniyar.ac.ru.

Libraries used: Expat 2.2.5, GnuTLS 3.6.1, idn2 2.0.4, libiconv 1.15, Readline 7.0, zlib 1.2.11
LFTP is correctly installed.

Checking NodeJS installation and version…
v10.14.0
NodeJS is correctly installed.

Checking GIT installation and version…
git version 2.19.2.windows.1
GIT is correctly installed.
Checking Connection …
cd: Fatal error: max-retries exceeded (execl(/bin/sh) failed: No such file or directory)

1 Like

Also no luck with FTP and there is really not alot which you can do wrong :laughing:… I use Filezilla to get my stuff working!

I have the same problem and the same error messages. I cannot connect using SFTP. Is there any solution to this?

I just came by to say that since the 1.7 release I am getting successful connections using SFTP. I have not had to reinstall any of the 3rd party software. Nice work. thanks for your efforts.

Cheers,

Andy

Hello, we’ve fixed this in 1.7.0
It’s not longer required to install additional components for SFTP.