Questions tagged [upload]

The tag has no usage guidance.

22 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
266 views

Solspace Freeform Upload file dynamic location and duplicate file avoidance

Using Freeform for forms which have multiple file upload fields. Is it possible to have a unique asset directory for each submission? For example: uploads/maindirectory/submission.id/ I'm trying to ...
2
votes
0answers
145 views

How to Upload Multiple Assets Using Frontend Form

I'm trying to create a more interactive experience to upload moultiple images on a frontend entry form. Things I have done: I have implemented the code here: https://docs.craftcms.com/v3/dev/...
2
votes
0answers
393 views

Temp folder and file upload permissions issue

Using Sprout Forms Plugin, and following the front end file uploads example, I'm trying to use the famous jQuery File Upload plugin to deal with batch of large files and get upload progression. This ...
1
vote
1answer
23 views

Front end member uploader

Hi I'm fairly new still to CraftCMS. I built one website with it a few years ago and have tinkered with it ever since and I do like it a lot. What I've been asked to do is create a website directory ...
1
vote
0answers
340 views

Upload Error: 403 Forbidden response with DigitalOcean

This is the error I get when uploading files through the front end and Craft admin into a docs folder on my DigitalOcean s3 instance (bucket name is changed to test). Error executing "ListObjects" on ...
1
vote
0answers
114 views

Front end asset uploads not correctly rotated

Running into an issue whereby front end asset uploads are not the correct orientation. I've spotted this mostly with user profile pics. What's the best way to start debugging this? My server has ...
1
vote
0answers
187 views

Frontend upload asset to Matrix

I created a matrix with 1 type, 3 fields for user profile. I use front-end to upload file to documentUpload field. But I got PHP warning: array_merge(): Argument #1 is not an array message. I Google ...
1
vote
0answers
291 views

Upload assets manually: replace existing files

Context: For a redesign and port to CraftCMS, I need to import the content from a blog hosted on another platform with a lot of content (over 500 posts and over 3000 images). Strategy: To import the ...
1
vote
0answers
89 views

How may I restrict uploads to a single folder with variables within a Rich Text Field?

Craft's Asset Fields allow you to restrict uploads to a single folder—and even pass through a variable to create a dynamic path. How may I restrict uploads to a single folder with variables like this ...
0
votes
0answers
9 views

“uploaded” files don't actually get uploaded in folder

I created an asset source and the paths are 100% correct. When I upload the file it doesn't seem to get uploaded at all. I get no error when I upload the file and craft behaves like the file is ...
0
votes
0answers
8 views

File Upload Validation in a Front End form

Good Evening. I have a front end form that allows users to upload up to 4 images to an asset field, however the file chooser allows for more than 4. This causing an issue with any further updates at ...
0
votes
0answers
7 views

How to empty the Temporary Uploads folder and why can individual users not delete files within up this folder?

I am perhaps over looking something, but I cannot see anyway for an back-end user (not admin) to be able to remove/clean up their Temporary Uploads folder. As a full admin, I see the option to remove ...
0
votes
0answers
14 views

Event or hook to access when needing to show session messages via AJAX within Asset Events in the control panel

I am using EVENT_BEFORE_HANDLE_FILE on the asset class to moderate images before they are uploaded. I am setting session errors which show fine on the frontend templates on page refresh, however in ...
0
votes
0answers
20 views

Form field as 'Upload Location Subfolder'

Question concerning the Freeform plugin: Is it possible to set the contents of a text field as my 'Upload Location Subfolder' of a file upload field? I tried stuff like {{ form.customerName }} and {{ ...
0
votes
0answers
39 views

Using Solspace Freeform to create an entry including a file upload

I have recently been having some issues using the Solspace plugin FreeForm. I have created a front end entry form which, when submitted, creates an entry in a specified section in the CP. I have used ...
0
votes
0answers
55 views

Specify an asset volume for a file input on a front-end entry form

Is this possible? I want to specify the volume and/or folderId via hidden input, not just use the default. Nothing documented here: https://docs.craftcms.com/v3/assets-fields.html#uploading-files-...
0
votes
0answers
45 views

Craft CMS security scans: upload of over-the-limit file hangs the system; should it throw exception/error?

We are putting our new Craft CMS 3.2 install (dev environment) through some security scan paces, including uploads of 500Mb files. We'd expect to throw an exception message/error page on an over-the-...
0
votes
0answers
247 views

Large file upload, 500 server error

We've a Craft 3 site hosted with Digital Ocean (Serverpilot set-up) with the DNS routed through Cloudflare. The client has experienced issues uploading large ZIP files to (c140MB), returning a 413 ...
0
votes
0answers
316 views

Uploading Assets - Problems

I've got a number of assets directories set up. One of them is having an issue where if you upload an image it doesn't appear in the control panel despite having been uploaded to the server. I checked ...
0
votes
0answers
159 views

PHP Warning on Asset Upload: PelInvalidDataException

I have a front-end form to upload image files, which works 100% perfectly most of the time. However, I've noticed with larger sized images, I'll get a PHP error saying: PHP warning include(...
0
votes
0answers
249 views

upload doesn't finish

the file upload always does not finish and it shows no error alert. Also in the logs there is no error. I only find an error in the browser debugger on actions/assets/uploadFile . Maybe the error ...
0
votes
0answers
839 views

Assets upload and Update Asset Indexes issues

There seem to be some issues with asset uploading, and i can't figure out what the problem is. Here's a summary: After uploading an asset it doesn't show up in the Assets listing If i do a 'Update ...