Many thanks for this module! I've built a form that uses one file upload field; I have 2 problems with it.

1) when the "upload" button is clicked after browsing for a file, the spinner never stops, despite the file showing up (twice) in the specified directory upon submit. Is this normal behavior? Or does it possibly relate to problem 2?

2) I've specified a specific private directory and tokenized name for each file, and that works. When I first set this up yesterday, the originally-named files were going into a "webform" dir under my site's "files" dir, from whence they would disappear upon submit. I don't know what I did, if anything, to cause that behavior to change, but now the originally-named files are getting written into the same private directory as the renamed files, and don't get deleted when deleting a submission, or disappear on submit.

I would greatly appreciate any suggestions for troubleshooting.

Comments

agerard created an issue. See original summary.

agerard’s picture

A little further troubleshooting on my own and I've discovered the upload behavior differs between browsers as well, and part of it seems to be due to ajax cross-domain issues (?) - Chrome doesn't work properly with file uploads. I'm going to try switching to the media browser...meanwhile the renaming of files has stopped entirely. Might start from scratch.

agerard’s picture

Status: Active » Closed (works as designed)

Sorry, muddling around a bit got it sorted - the fact that I'd put my private files directory outside of the files root seems to have been problematic.