Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
あるディレクトリから別のディレクトリにファイルを転送するスクリプトがあります。私はUbuntu VMを持っています.PHPでUNCパスを使用する前は、それらを転送するためにscandir()使用copy()していましたが、うまくいきました。Ubuntuを使用しているので、そこにあることがわかっているときにファイルが見つからないと表示されます。これを可能にする PHP 用の smb-get のようなものはありますか?
scandir()
copy()