Detailed explanation of the steps to use SFTP in Phpstorm

高洛峰
Release: 2023-03-06 18:44:02
Original
3224 people have browsed it

FTP connection failure often occurs in Phpstorm. At this time, we can use SFTP to connect to the server.

1. Add a server. tools--deployment--configuration/browse Remote Host

Detailed explanation of the steps to use SFTP in Phpstorm

2. Add the server and fill in the name.

Detailed explanation of the steps to use SFTP in Phpstorm

# 3. Fill in the corresponding account password and port number, provided that the port and account have been configured on the server side.

Detailed explanation of the steps to use SFTP in Phpstorm

4. Fill in the corresponding account password and port number, provided that the port and account have been configured on the server. Test the connection.

Detailed explanation of the steps to use SFTP in Phpstorm

# 5. After connecting to the server locally, I found that the file name was garbled because of an encoding problem. Just unify the encoding and it will be fine.Garbled code problem

Detailed explanation of the steps to use SFTP in Phpstorm

6. Confirm the permissions of server-side sftp.

Detailed explanation of the steps to use SFTP in Phpstorm

7. Confirm the path. Local path and network path. Otherwise, it will not be able to synchronize after connecting to the server.

Detailed explanation of the steps to use SFTP in Phpstorm

After that, you can use the compareuploadand other functions. No more description.

Related articles:

How does phpStorm use FTP and SSH to connect to the virtual machine Linux system?

PHP IDE PHPStorm configuration supports friendly Laravel code prompt method

Using Memo (1)

The above is the detailed content of Detailed explanation of the steps to use SFTP in Phpstorm. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!