VsCode的SFTP插件上传的之后传不上去,也没报错
VSCode
是最新版本 ,插件也是(marketplace.visualstudio.com/items...) ;
·········
经过昨晚的多种尝试,最终问题应该是出在服务器端口上,被动模式范围端口都没开,但是服务器密码又被客户保管着,就不去再要了 。
·······
补充一下报错日志…
[02-11 18:03:10] [info] [file-save] f:\codes\php\_2023\yunucms\index.php
[02-11 18:03:10] [trace] handle upload file for f:\codes\php\_2023\yunucms\index.php
[02-11 18:03:10] [debug] > USER yunyou
[02-11 18:03:10] [debug] < '331 User yunyou OK. Password required\r\n'
[02-11 18:03:10] [debug] > PASS ******
[02-11 18:03:10] [debug] < '230 OK. Current directory is /\r\n'
[02-11 18:03:10] [debug] > FEAT
[02-11 18:03:10] [debug] > TYPE I
[02-11 18:03:10] [debug] < '200 TYPE is now 8-bit binary\r\n'
[02-11 18:03:10] [debug] > PASV
[02-11 18:03:10] [debug] < '227 Entering Passive Mode (xxx.xxx.xxx.xxx)\r\n'
[02-11 18:03:11] [debug] > ABOR
[02-11 18:03:11] [debug] < "226 Since you see this ABOR must've succeeded\r\n"
{
"name": "sftp",
"host": "正确的IP",
"protocol": "ftp",
"port": 21,
"username": "yunyou",
"password": "yunyou",
"remotePath": "/",
"uploadOnSave": true,
"useTempFile": false,
"openSsh": false,
"connectTimeout": 1000
}
用PHPStorm是没问题的。
推荐文章: