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

Cannot create new files on server #53

Open
lazarillo opened this issue Apr 19, 2018 · 1 comment
Open

Cannot create new files on server #53

lazarillo opened this issue Apr 19, 2018 · 1 comment

Comments

@lazarillo
Copy link

This is not so much a bug that needs to be fixed, but some clarification needed on the documentation. (I can pull and add myself, if desired, but this seemed easier since the change is so small.)

When installing, I thought I made a mistake and couldn't get things to work, but then I finally figured out that you cannot add new files via this workflow.

For instance, in the documentation, there is an example which says:


  • Go to the remote system and run

    rmate -p 52698 file
    

In this case, be sure that file is the name of a file that actually exists!! For example, if your server already has a file at ~/src/index.sh, be sure to run:

rmate -p 52698 ~/src/index.sh

If the file does not exist, first make it on the server.

I am not sure if I am actually doing anything wrong, but I noticed that I can indeed edit the file and it is saved properly on the remote server as long as it already existed.

@rafaelmaiolla
Copy link
Owner

I tested here and there is no need for the file to exist. It will just create it if it doesn't exist after you save it in VSCode

can you confirm?

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