I have an FTP storage drive defined in my filesystem.php file ... Putting and getting files work perfectly, but when I try and see if a file exists on the remote system, it always returns it doesnt exist even though the file is there
if (Storage::disk('ftp')->exists('/folder/filename.jpg')) {
echo 'File exists';
} else {
echo 'File doesnt exist';
}
Is there something wrong with the way i am structuring this?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3JYV7CJ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire