Filemail Library files

Please contact us if you plan to use these libraries in production environments!

Filemail CLI 2.57 (2018.07.16)

This is the preferred way to send files using Filemail. The EXE enables you to send files from a program/script. Our proprietary FilemailCORE transfer protocol is used alongside with HTTPS based in order to maximize upload speed.

Windows

Linux

64 bit. Requires OpenSSL 1.0.0. Installation instructions:
        wget https://filemailprod.blob.core.windows.net/downloads/FilemailCli/Linux/FilemailCli
        chmod +x FilemailCli

OS X

64 bit. Requires OpenSSL 1.0.0. Installation instructions:
        wget https://filemailprod.blob.core.windows.net/downloads/FilemailCli/macOS/FilemailCli
        chmod +x FilemailCli



Usage



Filemail.exe [options]
  --help                 Display this help message
  --username arg         Your email address (Optional)
  --userpassword arg     Your password. Register at www.filemail.com if you
                         don't have one. (Optional)
  --files arg            Files that you want to send (Required)
  --to arg               Comma separated list of email addresses to send to
                         (Optional)
  --from arg             Email address to send from
                         (Optional)
  --subject arg          Subject of the transfer email that it sent to the
                         recipient(s) (Optional)
  --message arg          Message of the transfer email that it sent to the
                         recipient(s) (Optional)
  --transferpassword arg Password of transfer that is sent (Optional)
  --notify arg           Do you want to be notified when recipients download
                         your files? [true]/[false] (Optional)
  --confirmation arg     Do you want an email confirmation after sending the
                         files? [true]/[false] (Optional)
  --days arg             Number of days the file(s) will be available for
                         download (Optional)


Example:

Filemail.exe --username test@gmail.com --userpassword 4nfj38 --files "C:\cacert.pem" "C:\poco-1.7.5-all.zip" 
  "C:\MyFolder" --to myfriend@hotmail.com joe@email.net --subject "Files from me" 
  --message "Hi, here are your files" --transferpassword "Pa33W0rD" --notify false --confirmation true --days 6

    


Filemail Python library

Written by Daniel Flehner Heen
Download latest version at GitHub.


FilemailUploader.NET DLL (Windows)

Deprecated Use Filemail CLI instead
Download latest version here.


Filemail Jar (Windows, OS X, Linux)

Deprecated Use Filemail CLI instead
This JAR file enables you to send files from a program/script. Our proprietary transfer protocol is used (HTTPS based) - so you won't have to worry about the difficult stuff. Supported on Windows, Linux, Mac, Unix, +++

  1. Install Java
  2. Download Filemail.jar

You can now use Command Options like this
Usage: Java -jar FilemailDesktop.jar [options] file(s)/folder(s)
  Options:
    -compress
       Compress (ZIP) data before sending?
       Default: false
    -confirmation
       Do you want an email confirmation after sending the files?
       Default: false
    -console
       Logs to console
       Default: false
    -days
       Number of days the file(s) can be downloaded
       Default: 0
    -downloads
       Number of times the file(s) can be downloaded
       Default: 0
    -gui
       Does not open any GUI
       Default: true
    -help
       print this message
       Default: false
    -message
       Message of the transfer email that it sent to the recipient(s)
    -notify
       Do you want to be notified when recipients download your files?
       Default: false
    -start
       Starts the upload automatically
       Default: true
    -subject
       Subject of the transfer email that it sent to the recipient(s)
    -to
       Recipient(s) (email addresse(s))
       Default: []
    -transferpassword
       Password of transfer that is sent
    -username
       Your email address
    -userpassword
       Your password


Or specify the info in a xml file file this:
Usage: Java -jar FilemailDesktop.jar -xml xmlfile

************************************************************************************
  
<FilemailDesktop 
    useremail="myemail@hotmail.com" 
    userpassword="mypass12345" 
    downloads="20" 
    days="10" 
    password="OurPassword" 
    subject="Sending files with Filemail Desktop - via XML!" 
    confirmation="true" 
    notify="true"> 
        
    <files> 
        <file path="c:\testfile1.zip" /> 
        <file path="c:\movie2.mov" /> 
    </files> 
    <recipients> 
        <recipient email="john@degree.no" /> 
        <recipient email="ted@cnn.com" /> 
    </recipients> 
    <message>Hi John and Ted! Here are the files!</message> 
</FilemailDesktop>

************************************************************************************