A
A
Alexey2016-09-27 20:59:57
linux
Alexey, 2016-09-27 20:59:57

What to use to manage files on another server?

There is an S1 server on which the web application is located. And there is an S2 server on which all sorts of statics lie (pictures, videos, full pages). You need to display the directory structure, copy, delete (files, directories). What is the best way to proceed in this case. Interact via php-SSH or mount the desired directory and work with it as if it were local? Or is there any other way to solve this problem.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Victor Taran, 2016-09-28
@Feramon4ik

just mount and that's it,
well, of course you can pervert in the form of https://ru.wikipedia.org/wiki/GlusterFS
But if you judge directly by the task, then just mount it in the fstab.

F
Fenix957, 2016-09-27
@Fenix957

mount the desired directory and work with it as with a local

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question