简体   繁体   中英

PHP: RecursiveDirectoryIterator with remote path

我正在尝试使用类似“ https://172.168.3.3/folder ”的路径创建RecursiveDirectoryIterator,但是打开目录时总是抛出失败:未实现。

I would suggest you not to create one from scratch. As you can use ready made libraries.

For Ex : You can use Symfony's Finder Component in your project.

https://symfony.com/doc/current/components/finder.html

You just have to install it using composer. If you have not used composer yet, give it a try. https://getcomposer.org/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM