Loading...
 
Skip to main content

Development


Adding "Send as Email" as new Action choice in Gallery >Files >Action

I operate a successful TW 4.2 site that includes a File Gallery with about 150 MB of downloadable files. The files vary from a few KBs in size to as large as 15 MB.

Some of the website visitors are unable to download the larger files due to HTML errors/timeouts on poor circuits, slow links, dialup lines, or satellite connections. I'd like to provide an alternative file download capability without deploying an FTP server. It looks like adding a "Send as Email" option under >Galleries >File >Actions would be an ideal menu location.

- the user would have to be registered, logged in, and have an email address.

Has anyone tried anything like this? Is there some similar code where I can see how to gain access to users' credentials?

Any warnings or advice would be appreciated.

-larry