I would need to connect to my FTP server from my website. I'll explain. What I need is for my website to show a login form with username and password to the FTP server and when you log in it will automatically show the content of it. Something similar to what browsers do when you enter ftp:\name servers that ask you for username and password and show the contents of the server.
Asked
Active
Viewed 182 times
-1
-
Hi! Thank you! I would use PHP – José Manuel Romero Jan 10 '19 at 11:23
-
Done! Thank you so much!! – José Manuel Romero Jan 10 '19 at 11:26
-
The question is too broad. Ask a more specific question. – NineBerry Jan 10 '19 at 11:30
-
Documentation of FTP functions in PHP: http://php.net/manual/en/book.ftp.php – NineBerry Jan 10 '19 at 11:31
-
Yes, indeed. The question is way too broad. Start for example here: [Accessing an FTP directory listing with PHP](https://stackoverflow.com/q/6747065/850848) - And if you have additional, *more specific* questions, post them separately. – Martin Prikryl Jan 10 '19 at 11:32
1 Answers
-3
There would be a lot of work involved to do this from scratch, your best bet would be to use a package like https://github.com/Nicolab/php-ftp-client

markmoxx
- 1,492
- 1
- 11
- 21