All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nextapp.echo.filetransfer.webcontainer.resource.Sync.DownloadCommand.js Maven / Gradle / Ivy

The newest version!
/**
 * Command exeecution peer: Download
 */
Echo.RemoteClient.CommandExec.Download = {

    execute: function(client, commandData) {
        if (!commandData.uri) {
            throw new Error("uri not specified in DownloadCommand.");
        }
        top.location = commandData.uri;
    }    
};

Echo.RemoteClient.CommandExecProcessor.registerPeer("nextapp.echo.filetransfer.app.DownloadCommand", 
        Echo.RemoteClient.CommandExec.Download);




© 2015 - 2024 Weber Informatics LLC | Privacy Policy