Is it possible to send your programming code to remote server? Through terminal?

Joined
Feb 21, 2013
Messages
2
Reaction score
0
Points
1
Hi everyone,
How do I send my programming code to a remote server? The remote server has Matlab.

I can access the server through terminal. And I have my code written on my computer. So, how do I get my "send" .m files into the server?

I am guessing I have to somehow use terminal.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
There are numerous ways you can do this but the methods depend on what kind of access you have. For instance, if you have SSH access, you could use scp or sftp. What kind of access do you have?
 
OP
W
Joined
Feb 21, 2013
Messages
2
Reaction score
0
Points
1
Hi, scp worked for me, how do you use sftp? I am not sure what do you mean by access. I am a user.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
The SSH File Transfer Protocol is a simple way of moving files over SSH (sort of like scp). If scp works for what you need, you probably don't need sftp.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top