I’m working on a Laravel Project that uses FTP Service, so I used this https://github.com/harishanchu/Laravel-FTP . However I can’t make the upload to work. I have a proper connection and I was able to make a new directories to the remote server. Only the upload doesn’t work. Am I doin wrong with the parameters?
$ftp_upload = FTP::connection()->uploadFile($file_loc, $current_dir);
When I var_dump() my $file_loc
Which totally exists in the directory and my $current_dir in my remote directory is
Where $file_loc is the local source and $file_loc is the remote directory where it will be uploaded.