I
I
Ilya Pavlov2014-12-21 16:12:06
PHP
Ilya Pavlov, 2014-12-21 16:12:06

How to get a list of files in a specific directory on a third party server?

You need to get an array with the name of all files in the site.ru/dir/ directory
from the site dsite.ru

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stanislav, 2014-12-21
@PiCoderman

If there is no access to the server, then not how. If available, via FTP goo.gl/ov9zzi

K
Konstantin, 2014-12-21
@fallen8rwtf

ssh [email protected] "ls -ltrh --color=auto /var/www/site.ru/"
stuffing in the middle just for easy viewing

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question