我试着上传与下面的代码的文件在Ubuntu文件上传权限Laravel在Windows 10
$file = $request->file('file_upload');
$destination = app_path() . '/myStorage/';
$fileName = $sampleName . '-' . date('Y-m-d-H:i:s') . '.' . $file->getClientOriginalExtension();
$file->move($destination, $fileName);
它工作得很好。现在我试图在Windows操作系统中运行相同的代码,并且出现以下错误
无法将文件“C:\ wamp64 \ tmp \ php6570.tmp”移动到“C:\ wamp64 \ www \ gittest \ gittest \ IBA \ app \ myStorage \ Test-2016-02-17-10:43:27.xlsx“()
代码中是否存在任何问题或者是否存在权限问题? 请帮帮我。
是否所有的文件夹在 'C:\ wamp64 \ WWW \ gittest \ gittest \ IBA \程序\ myStorage \' 存在吗? –
雅所有的文件夹存在。 @Jim Wright –