How to trigger mobile notifications directly from CompleteFTP by using Notify17

CompleteFTP is able to send email notifications to users regarding important events, such as user logins, file uploads and certificate expirations. But what if your email is inaccessible, or if your inbox is so full that you might miss these notifications - how can you receive the notification? To resolve this issue, CompleteFTP can be integrated with Notify17, which is an innovative system for mobile notifications. Notify17 lets you generate notifications via a simple web requests, and receive them on Android, iOS and the Web.

Shown below, we walk you through the integration process. The following steps will configure CompleteFTP to send a mobile notification, when a file is uploaded to a particular directory:

  1. Sign in to the Notify17 with Google or GitHub.

  2. Create an encryption password.

  3. Install the Notify17 mobile app (Android or iPhone).

  4. Sign in on your phone, and input the encryption password to unlock all your data.


  5. Go to Notify Dashboard to get the API key (in API key column).


  6. Open CompleteFTP manager.

  7. Go to the Events panel.

  8. Add a new Process Trigger with Upload file Event.

  9. Select JSS script as the Type.

  10. Copy the following code into the Script field replacing ...your API key… in the code, with the Notify17 API key obtained in step 5:

  11. var notify17ApiKey = "...your API key...";
    var title = event.fileName + " uploaded";
    var content = event.fileName + " has been uploaded";
     
    http.post("https://hook.notify17.net/api/raw/" + notify17ApiKey, { title: title, content: content });
    
    
  12. Apply the changes.

  13. You should now be set up to receive notifications on your mobile phone. You can test this by uploading a file to CompleteFTP via Filezilla.

    And checking your phone.

    Note, that if you want to restrict the scope of the notifications, then you can filter by user and/or file-path.