我在拉维尔有两个磁盘.
One is the local disk, the other one is a FTP server which I need to upload my files to. They are both correctly configured.
I have attempted it this way:
Storage::disk('FTP')->copy('old/file1.jpg', 'new/file1.jpg');
This would only copy the file if it is already in the FTP server. I have also read the documentation and there seems to be no way to combine both in order to upload files.
Any suggestions?