Import file but file get from FTP #3010
Unanswered
abdrozak20
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to import file, but i get file from FTP.
this is my code :
$file_nortels = Storage::disk('ftp_nortel')->get('template-dp.xlsx');
$import = new DPImport();
$import->forEvent($session_id)->import($file_nortels, null, \Maatwebsite\Excel\Excel::XLSX);
But i get error :
touch() expects parameter 1 to be a valid path, string given
please help me.
thanks
Beta Was this translation helpful? Give feedback.
All reactions