Connect to a server


#1

Hi,

I want to automate the following in my package on activation:

  • run a wrapper shell script, that connects me to my main server.
  • login to my server using credentials.
  • get the list of files there.
  • download one of them to local machine, and open it in atom automatically.

Please share thoughts on how to go about this, mainly the first two parts.


#2

I use the package remote-edit.