This author's response time can be up to 1 business day.
hi, does this uploader support resumable uploads?
Hi! Unfortunately not
Awesome upload. Love it. One question though….is there a way to check to see if the filename exists in the upload directory and if so, instruct the user to change the name or throw up an error? I’m using this with access from different people and without them browsing the upload directory first, there’s no way for them to know what has been named already.
Would be nice to prevent file overwriting by simply checking the directory for an existing name already.
Hi! What if I will add some random value for each uploaded file. Is this will be good solution for you?
That wouldn’t work for me (we’re linking uploaded files to a forum and readable urls are needed). What about implementing a check in the PHP….like so:
$upload_error = 'file is not set !';
return; //stop further code execution
//do further validation
Hi! Ok, I will add checking, is file with this name exist or not. It will be available in next update
Hello, Works great.
Is it also possible to order the uploaded images?
Hi! Unfortunately there is no such option in my plugin.
Why is the file not being renamed to its original name? Is there a setting I missed for this? Uploaded files are left with the random name.
Hi! Do you use AJAX upload method?
No I haven’t tried that one yet. I adjusted the PHP to simply use the original file name and not create a temporary name. But I’ll check out the AJAX version.
Hi! Can you send me message to email@example.com or just give me your email. I will send you instructions, how to change this .
Hi, can i integrate it with magento 2 form? thanks
Hi! Unfortunately not.
Hi, can I use this in a website contact form where the user uploads a file and the whole form is sent to the website admin as an email like a normal contact form is sent?
Hi! Yes, but you need to add (integrate) file uploading functions to your existing script.
Hi! I often get an error “File not received” What can cause this?
Hi! This error means, that $_FILE variable on your server is empty or you pass wrong index in $_FILE variable. Please check ajax_upload.php file on line 44
Hi Boris, nice plugin you’ve built. If I would like to count the words from the uploaded file (doc/pdf) how can I use ‘file_upload_end’ event to achieve it?
Hi! file_upload_end trigger is used in AJAX upload and return only file name, so it’s probably not suitable for this purpose
I see. Then how can you advise me to accomplish it?
I think it will be better to do this on server side via PHP
Thanks for your messages. Can you give me some hints about how can I implement it inside your plugin?
If you use ajax upload you can get uploaded file path and pass this filepath to function, that can parse uploaded doc and calculate words. In ajax_upload.php yon can do this after line 52
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Get it now and save up to $2.50
Deliver better projects faster. Photos, templates & courses
Unlimited downloads. Only $29/month
Learn almost anything with
Envato Tuts+ for free
9000 free tutorials, 3000 paid courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work