Open BanDroid opened 1 year ago
the operation that cannot be used is sync from remote to local.
@BanDroid In watcher option? If you could share the configuration, I would appreciate it. Hide sensitive data.
here is my sftp.json
file
{
"name": "bani",
"host": "192.168.43.111",
"protocol": "ftp",
"port": 2121,
"username": "my-username",
"password": "secret123",
"remotePath": "/",
"uploadOnSave": true,
"useTempFile": false,
"openSsh": false,
"watcher": {
"files": "**/*",
"autoUpload": false,
"autoDelete": true
},
"ignore": [
".git",
".DS_Store",
"build",
"dist",
"node_modules",
".gradle",
"bin",
"cache",
"oat",
".next"
]
}
the bug is when trying to Sync Remote -> Local
if the Remote had [id]
folder or anything that wrapped in square brackets because my project is nextjs 13.
Ah ok, I had understood that you had a special configuration.
In the output of the logs that shows you?
In the output of the logs that shows you?
the logs are fine, nothing wrong with the connection, only local cannot download folder with square brackets, after i rename the folder first, then change it in my local, save the file, it is synced well. i will send here if i seen something new with the output logs.
have you successfully reproduced my issue? just create a folder in remote and wrap the folder name in square brackets, create a file inside it, then try to download the file into local, the file wont be downloaded but the folder is transfered well.
@BanDroid I have tested creating the directory "[id]" and it synchronised correctly remote->local and local->remote.
@BanDroid I have tested creating the directory "[id]"
did the directory created in remote or local?
First I created the directory remotely and then I executed the command to synchronize from remote to local.
the folder is fine when sync, but the problem is within the files inside the folder, are the files downloaded correctly?
@BanDroid I have done several tests and it works well for me.
Do you read the FAQ?
Describe the bug i have nextjs 13 project, and i have folders with square brackets
[id]
which is a dynamic params in nextjs, but your extension never sync folders with this rules, i dont know what settings should be added for this to work. i had to manually copy, paste, and move the files and subfolders inside it.To Reproduce Steps to reproduce the behavior:
Expected behavior Could work the same way as other folder name rules.
Desktop (please complete the following information):