Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
msi
CrushDrop 1.0.74.msi 49,987.6 kB 1 04-Sep-2020 15:31 Ben Spink
zip
CrushDrop-1.0.74.pkg.zip 60,178.0 kB 1 04-Sep-2020 15:31 Ben Spink
png
user_buttons.png 65.3 kB 1 25-Oct-2018 04:31 Ben Spink
png
user_customizations.png 52.4 kB 1 25-Oct-2018 04:31 Ben Spink

This page (revision-19) was last changed on 10-Sep-2020 03:10 by Ben Spink

This page was created on 25-Oct-2018 04:31 by Ben Spink

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 5 removed 90 lines
You can find the Attachment_Redirector_Setup.exe in your CrushFTP WebInterface folder. You can provide a link to your users to download it from your server. For example:
{{{
https://www.crushftp.com/WebInterface/Attachment_Redirector_Setup.exe
}}}
[attachmentRedirector/install.png]
When the installer is run, it asks for one parameter. It needs the server address for your server. That is the only piece of data the user must enter.
[attachmentRedirector/install_url.png]
The plugin will automatically install for Outlook 2007, and above. However, Outlook 2007 is experimental as we had serious development issues in working with it. Newer versions of Outlook are fully supported.
When the plugin runs in outlook it will download its settings from your server so it knows how to operate. You need to configure these server settings ahead of time. In your WebInterface folder is a file called "AttachmentRedirectorSettings.xml". Example:
{{{
<?xml version="1.0" encoding="utf-8" ?>
<AttachmentRedirectorSettings>
<!--Basic User settings -->
<UserSettings>
<BaseUrl>https://www.domain.com/</BaseUrl>
<PublishType>move</PublishType>
<UploadAllAttachments>false</UploadAllAttachments>
<UploadLimit>4096</UploadLimit>
<SingleDownloadLink>false</SingleDownloadLink>
<Username>share</Username>
<Password>share</Password>
</UserSettings>
<!--Email message text for Attachments-->
<EmailSettings>
<Attachments>Attachment(s)</Attachments>
<DownloadLink1>--- {0}. {1} ; Download Link : {2}</DownloadLink1>
<DownloadLink2>Download link : </DownloadLink2>
</EmailSettings>
<!--Error Messages -->
<ErrorMessages>
<AttachmentCaption>Attachment</AttachmentCaption>
<AttachmentQuestion>Attachments greater than {0} in size are being redirected to the attachment server.</AttachmentQuestion>
<AuthorizationFailed1>Failure sending E-mail with Subject : {0}. Unable to build the Authorization Token to upload attachment(s). Error : {1}, Error Code: {2}</AuthorizationFailed1>
<AuthorizationFailed2>Failure sending E-mail with Subject : {0}. Unable to build the Authorization Token to upload attachment(s).</AuthorizationFailed2>
<DownloadLinkFailed1>Failure sending E-mail with Subject : {0}. Unable to build the Download link(s) for attachment(s) in message. Error : {1}, Error Code: {2}</DownloadLinkFailed1>
<DownloadLinkFailed2>Failure sending E-mail with Subject : {0}. Unable to build the Download link(s) for attachment(s) in message.</DownloadLinkFailed2>
<FailedToSend>Failure sending e-mail</FailedToSend>
<FileUploadFailed1>Failure sending E-mail with Subject : {0}. Unable to upload any Attachments. Error : {1}</FileUploadFailed1>
<FileUploadFailed2>Failure sending E-mail with Subject : {0}. Unable to upload Attachment file : {1}. Error : {2}</FileUploadFailed2>
<LogoutFailed>Failed to logout from server after uploading attachment(s) to server.</LogoutFailed>
<NoDownloadLink>Failed to build the Download link.</NoDownloadLink>
<NotFoundInDrafts>Failure sending E-mail with Subject : {0}. Unable to build the message. The message may be moved or deleted from Drafts.</NotFoundInDrafts>
<ReAttachmentNoteOnError>Note : The attachments in this message are removed and you need to re-attach the attachments.</ReAttachmentNoteOnError>
</ErrorMessages>
</AttachmentRedirectorSettings>
}}}
This file needs to be adjusted with Notepad or other plain text editor to set the URL for your server, username and password. The same account is shared by all users to transfer files to your server. However the files uploaded are immediately moved into a temporary holding location for the download link that is inserted in the email.
The example XML has the user/pass set to be "share" and "share". You are free to change this, but this is not a super secret user. You will restrict options in your user to keep it from being abused.
Make the user we will be using for this share operation, but do not give them a home folder. Instead designate a location where you plan for the data to go, and we will configure that in just a minute.
At line 99 changed one line
Now we configure a "Connect" event in the events section to use a HomeDirectory plugin configuration making this user have a unique home directory at every login.
Now add the button to the user's account, or to the default user so everyone gets the new tool.
At line 101 changed one line
Refer to the screenshot. Notice all the items circled in red. All of these need to be set, don't miss one.
[AttachmentRedirector/user_buttons.png]
At line 103 changed one line
[AttachmentRedirector/homedirunique.png]
That should be it. Files shared via the AttachmentRedirector are like normal shares the user creates. They can manage them through the normal Manage Shares button in their WebInterface.
At line 105 changed one line
That should be it. Set your own folder location in the plugin config as you won't have the example location we showed.
You can download the CrushDrop Attachment Redirector app here:\\
At line 107 changed one line
Its also recommended to setup a [folder monitor] clearing out this home directory location of old items that are say 1 day old. That way if someone aborts a transfer part way through, those dead files will be self cleaned up within a day.
macOS: [https://www.crushftp.com/early9/CrushDrop/macOS.zip]\\
Windows: [https://www.crushftp.com/early9/CrushDrop/Windows.zip]\\
Version Date Modified Size Author Changes ... Change note
19 10-Sep-2020 03:10 0.948 kB Ben Spink to previous
18 04-Sep-2020 15:32 1.016 kB Ben Spink to previous | to last
17 17-Jul-2020 13:57 1.016 kB Ben Spink to previous | to last
16 15-Jun-2020 11:02 0.99 kB Halmágyi Árpád to previous | to last
15 15-Jun-2020 11:00 0.966 kB Halmágyi Árpád to previous | to last
14 15-Jun-2020 10:58 0.968 kB Halmágyi Árpád to previous | to last
13 14-Apr-2020 01:40 0.966 kB Ben Spink to previous | to last
12 25-Oct-2018 04:31 0.744 kB Ben Spink to previous | to last
11 25-Oct-2018 04:31 0.743 kB Ben Spink to previous | to last
10 25-Oct-2018 04:31 0.602 kB Ben Spink to previous | to last
9 25-Oct-2018 04:31 1.72 kB Ben Spink to previous | to last
8 25-Oct-2018 04:31 1.724 kB Ben Spink to previous | to last
7 25-Oct-2018 04:31 5.442 kB Ben Spink to previous | to last
6 25-Oct-2018 04:31 5.199 kB Ben Spink to previous | to last
5 25-Oct-2018 04:31 5.036 kB Ben Spink to previous | to last
4 25-Oct-2018 04:31 4.922 kB Ben Spink to previous | to last
3 25-Oct-2018 04:31 4.706 kB Ben Spink to previous | to last
2 25-Oct-2018 04:31 4.091 kB Ben Spink to previous | to last
1 25-Oct-2018 04:31 0.836 kB Ben Spink to last
« This page (revision-19) was last changed on 10-Sep-2020 03:10 by Ben Spink
G’day (anonymous guest)
CrushFTP9 | What's New

Referenced by
...nobody

JSPWiki