hi,
i have created simple stored proc to try to test file upload functionality:
CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_DBR_Test`()
BEGIN
select 'dbr.upload.options', 'noreplace', 1; select 'dbr.upload.options', 'accepted_files', '.pdf';
select 'dbr.upload', 'C:\\xampp\\htdocs\\mydbr\\ssn', 'sp_DBR_Test1', 123;
select 'dummy';
END
CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_DBR_Test1`(in_path varchar(255), in_file varchar(255), in_size int, in_id int, inLogin varchar(128)) BEGIN
select concat('File ', in_file, ' uploaded (',format_bytes(in_size),')');
END
but when i try to run sp_DBR_Test I get the following msg just on trying to open it:
"You do not have permissions for uploading. Please contact administrator."
I run mydbr in XAMPP on windows, i.e. i use Apache, not IIS.
What am I missing?
Thank you