Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to upload to root folder on remote #350

Open
Shujee opened this issue Jan 29, 2022 · 1 comment
Open

How to upload to root folder on remote #350

Shujee opened this issue Jan 29, 2022 · 1 comment

Comments

@Shujee
Copy link

Shujee commented Jan 29, 2022

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:

root
> build
> css
> js

whereas I want it to do:

root
> css
> js

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?

@harri00413
Copy link

Same problem here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants