upload_file
Transfer local files or directories to a remote server using SSH. Specify server name, remote path, and local source path to execute secure file uploads.
Instructions
将本地的文件或者目录上传到远程服务器 参数:
server_name: 服务器名称
remote_path: 远程文件/目录路径
local_src: 本地文件/目录路径
Input Schema
Name | Required | Description | Default |
---|---|---|---|
local_src | Yes | ||
remote_path | Yes | ||
server_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"local_src": {
"title": "Local Src",
"type": "string"
},
"remote_path": {
"title": "Remote Path",
"type": "string"
},
"server_name": {
"title": "Server Name",
"type": "string"
}
},
"required": [
"server_name",
"remote_path",
"local_src"
],
"title": "upload_fileArguments",
"type": "object"
}