rejetto forum

Upload & link

Gadji · 2 · 5721

0 Members and 1 Guest are viewing this topic.

Offline Gadji

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
 :)

Hello, first I want to congratulates to Rejetto for HFS, is just great like we all know.

I have a little situation; I need to offer the posibility to "upload & send"; how is that?, the idea is that the user will upload a file; I'll store it in a folder hidden for the users, and when the upload will end send it the link of the file into a email. (just with mailto in HTML).

Ideas?, help? thanks!.

P.S.: I use: <a href="mailto:my@example.com?body=The link: %uploaded-files% ">my@example.com</a>

But it's just don't work because is not the exact link of the file.

Thsk!.
« Last Edit: May 30, 2010, 09:35:47 PM by Gadji »


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2068
    • View Profile
1) you have to select the download folder as not browsable and not password protected: allow access to 'anyone'.

2) this folder must be uploadable for some account, otherwise it will be not possible to put some files on it: allow upload to some accounts or groups.

3) with the beta 2.3 you have to use the macro 'exec' in the event 'upload completed' to send the file url by an external program wich can manage a list of mail or send to your mail the file information.

do some requests on google with 'how to send mail' with a dos cmd  ;)

Quote
Win98, unlike UN*X, does not have a command-line E-mail utility - or does it? If you have a standard E-mail program that supports the "mailto:" feature, you may be able to improvise.

Click the "Start" button, choose "Run," and key in "mailto:EMAILADDRESS", substituting EMAILADDRESS with the E-mail address to which you want to send mail.

From the DOS command prompt, key in "start mailto:EMAILADDRESS", substituting EMAILADDRESS with the E-mail address to which you want to send mail.

For some E-mail programs, you can attach to the end of EMAILADDRESS "?subject=SUBJECT", substituting SUBJECT with the subject of your E-mail message.

you can find some interesting link to do that by script:

http://www.febooti.com/support/faq/command-line-email/batch-file-email-address-list.html#batch
http://www.chilkatsoft.com/mailCommand.asp

http://www.google.com/search?hl=fr&q=send+mail+command+line+dos&meta=&aq=f&aqi=&aql=&oq=&gs_rfai=
« Last Edit: May 31, 2010, 04:58:59 PM by Mars »