[Bug]: 内置 SFTP 插件,日期占位符没有被转义
Closed this issue · 3 comments
victorwoo commented
前置阅读 | Pre-reading
PicList的版本 | PicList Version
2.9.3
系统信息 | System Information
Mac(arm64)
问题重现 | Bug reproduce
相关的配置片段如下:
"settings": {
"shortKey": {
"picgo:upload": {
"enable": true,
"key": "CommandOrControl+Shift+P",
"name": "upload",
"label": "QUICK_UPLOAD"
}
},
"server": {
"port": 36677,
"host": "0.0.0.0",
"enable": true
},
"isListeningClipboard": false,
"showUpdateTip": true,
"manualPageOpen": "browser",
"deleteCloudFile": true,
"autoRename": true,
"uploadNotification": true,
"rename": true
},
"sftpplist": {
"_configName": "Default",
"_id": "b43d5e7c-e182-4fcd-aa70-5819bc2a6f7a",
"_createdAt": 1724768800434,
"_updatedAt": 1724769363235,
"host": "home.vichamp.com",
"port": 22,
"username": "victorwoo",
"password": "************",
"privateKey": "",
"passphrase": "",
"uploadPath": "/web/fss/{year}/{month}/{fullName}",
"customUrl": "https://home.vichamp.com:2443",
"webPath": "/fss/{year}/{month}/{fullName}",
"fileUser": "",
"fileMode": "",
"dirMode": ""
},
配置文件请见附件:
data.json
相关日志 | Logs
Kuingsmile commented
使用高级重命名 不是在sftp的配置里设置
victorwoo commented
使用高级重命名 不是在sftp的配置里设置
抱歉,找了一遍,没有找到高级重命名在哪儿。能否指点一下?我希望上传时自动传到 /fss/年/月/
目录,并且自动将图片文件名改为不重复的文件名。要怎么做?
Kuingsmile commented