You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I used context for upload file whitout it's directory. But it's work only for the context mentionned.
I want, if it possible to use dynamic context ?
(example) local
dir1 :
-file1
-file2
dir2 :
-file5
-file6
remote
file1
file2
file5
file6
How can configure the json, for upload files without these directories on remote ?
Today, this my json
{
"name": "sftp",
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I used context for upload file whitout it's directory. But it's work only for the context mentionned.
I want, if it possible to use dynamic context ?
(example)
local
dir1 :
-file1
-file2
dir2 :
-file5
-file6
remote
file1
file2
file5
file6
How can configure the json, for upload files without these directories on remote ?
Today, this my json
{
"name": "sftp",
"host": "host",
"protocol": "sftp",
"port": 22,
"username": "user",
"password": "pass",
"remotePath": "/directory/",
"uploadOnSave": true,
"useTempFile": false,
"openSsh": true,
"context": "./dir1",
"ignore": [".vscode", ".git", ".DS_Store"],
"profiles": {
"dev": {
},
"prod": {
}
},
"defaultProfile": "dev"
}
Thanks for your advices.
Beta Was this translation helpful? Give feedback.
All reactions