P
P
pecenuska21352021-10-02 16:54:12
Python
pecenuska2135, 2021-10-02 16:54:12

How to upload a python script to server via console?

How to upload a python script to server via console?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vindicar, 2021-10-02
@pecenuska2135

If the script is small, then you can copy it locally, run a simple editor like nano in an SSH session, and paste it there. Under Windows Putty can do it.
Another option is to put the script on the net, and download it from a direct link via wget.
The third option, perhaps the preferred one, is to use scp, or a variant of this utility from the Putty package ( tyts )
In any case, the question has nothing to do with Python.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question