Topic "Rejected SFTP connection but listens to FTP due to possible file uploaded?"

Author Message
[View user's profile]

Joined: 2015-06-21
Posts: 1
Location: Philippines
Hello and I hope some of you might answer this question. Recently I've been having an internship and was tasked to do the emailing part of a website. We were using WinSCP to update the files on the site. But recently we tried to put PEAR Mail on the server for PHP. And so, after uploading the PEAR folder onto the server and after changing the SMTP and smtp_port on the php.ini file as well as adding an include path I asked my IT supervisor to reboot the server so the changes to the .ini file could take effect. But after rebooting, we could no longer log-in to the server using WinSCP. It kept saying that it failed to connect via SFTP but still listened to FTP, but connecting via FTP did not work either. We've been doing the same thing for the past few days but this is the first time this happened. So what I'm trying to ask is this, is it possible that changing something in the php.ini file and/or uploading PEAR folder changed something about the port 22 and SFTP connections to the host? Because to me that would not make any sense at all. Thanks and good day.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
No it's not likely that changing PHP configuration would break SFTP. Though note that this is not an appropriate forum to ask such questions. Consider asking on

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License