So I want to sync my /build folder to my remote server. It works, but creates /build on the server and then uploads everything inside that folder. I want it to upload to root folder of the remote machine. For example, currently it is doing:
I have tried changing path to / as well as empty string, but it always creates /build folder on the server. How can I ask it to just upload the content of /build folder to remote root folder?
So I want to sync my
/build
folder to my remote server. It works, but creates/build
on the server and then uploads everything inside that folder. I want it to upload to root folder of the remote machine. For example, currently it is doing:whereas I want it to do:
My configuration looks like this:
{ "host": "my.remote.host", "protocol": "ftp", "port": 21, "username": "super_user", "password": "42x2", "remotePath": "/", "secure": false, "uploadOnSave": false, "passive": false, "debug": false, "privateKeyPath": null, "passphrase": null, "agent": null, "allow": [ ], "ignore": [ "\.vscode", "\.git", "\.DS_Store" ], "generatedFiles": { "extensionsToInclude": [ ], "path": "/build" } }
I have tried changing
path
to/
as well as empty string, but it always creates/build
folder on the server. How can I ask it to just upload the content of/build
folder to remote root folder?