yongkangchen / remote-sync

Upload your files to remote host after every change. Both SCP/SFTP and FTP are supported.
https://atom.io/packages/remote-sync
MIT License
237 stars 71 forks source link

No such file #468

Open hhypnos opened 6 years ago

hhypnos commented 6 years ago

Remote-Sync can't upload sub folders and sub folders' files

kokimu commented 6 years ago

I started to have the same "No such file" issue when I try to upload a file. I normally configure it via Atom (Right click main project folder...) and never actually opened .remote-sync.json file before, but checked it just in case. In the file, I found a line, "transport": "scp", . I believe it's supposed to be "transport": "sftp" since I am using SFTP port. When I configure it via Atom, the choice button for SCP and SFTP are combined into one button, so that's maybe causing an issue? It had been working fine for me till recently though. Anyways, my solution for now, is configuring the package via Atom (I still feel it's easier.), then go check the .remote-sync.json file and change the line if necessary.