Not Planned API - send progession of upload when sending file to appliance

Discussion in 'Feature Requests' started by David, Oct 8, 2016.

  1. David

    David Administrator
    Staff Member

    Joined:
    Dec 1, 2015
    Messages:
    698
    Likes Received:
    15
    We are currently working to make a Zimbra zimlet to use Filetransfer api. One thing thats missing is the api is a progression info when uploading a file to the appliance.
     
  2. David

    David Administrator
    Staff Member

    Joined:
    Dec 1, 2015
    Messages:
    698
    Likes Received:
    15
    [​IMG]
    Johan Allard September 16, 2011 22:26
    In short - If you want to display a progress bar with the API, you will have to track the data sent in the client end.

    From an interaction point of view, there's the web server (nginx), and the web application. When you're doing the actual sending and receiving of files, you do that directly with the web server, for performance and scalability reasons. Everything else, like all the API calls, login in and out, requesting messages and so on, is done with the web application. In practical terms, the web server is not API:able, only the web application is. This means that it's not possible to make an API call to check progress because at that point in the transaction there's no interaction with the web application (only the web server). The web interface's progress bar uses a javascript callback hack which you're more than welcome to try to replicate in your plugin, but it's not an API call, or something that can be made into an API call.
     

Share This Page