Integration with Clouds Storages (Google Drive, Dropbox, OneDrive)
Integration HTTP Commander with Clouds Storages allows to interact (upload and download files, folders) with popular cloud services
storage: Google Drive, Dropbox, Microsoft OneDrive.
Integration with Google Drive
Integration with Google Drive allows users of HTTP Commander
download and upload your files and folders from the cloud storage Google Drive.
To configure this feature, perform the following steps.
- Go to the Google Developers Console.
If required, sign in to your Google Account.
Screenshot
- Create new project (or select existing project).
Screenshot
- Select the newly created (or existing) project and in left menu go to
APIS & AUTH → APIs and enable Drive API and Drive SDK APIs
(if they are not enabled).
Screenshot
- Next go to APIS & AUTH → Credentials
and press button Create new Client ID.
Check Web application. In AUTHORIZED JAVASCRIPT ORIGINS field set your domain of HTTP Commander.
For example: if your opens HTTP Commander site by link http://yourdomain.com/HTCOMNET, for the AUTHORIZED JAVASCRIPT ORIGINS
parameter set http://yourdomain.com value (you can also specify several domains).
For AUTHORIZED REDIRECT URI field set empty value. Press Create Client ID button.
Screenshot
Copy the value of Client ID.
Screenshot
- Next in left menu select APIS & AUTH → Consent screen and specify Product name.
Click Save button.
- Go to Settings tab of HTTP Commander Admin Panel.
If the hidden settings are not visible, then click Show hidden parameters button on toolbar of Settings tab.
- In the hidden setting GoogleClientId (section Office)
paste the copied value Client ID.
- For the parameters EnableDownloadToGoogle
or-and EnableUploadFromGoogle (section UploadDownload)
set values to true.
-
After setting the values do not forget to save your HTTP Commander settings
(Save settings button on the toolbar of Settings tab) and restart the application
(Restart application button).
Integration with Dropbox
Integration with Dropbox allows users of HTTP Commander
download and upload your files and folders from the cloud storage Dropbox.
To configure this feature, perform the following steps.
- Go to the Dropbox App Console.
If required, sign in to your Dropbox Account.
Screenshot
- Then click Create app button and if necessary, perform the verification email.
Next, check the following sequence settings:
Dropbox API app
Files and datastores
No — My app needs access to files already on Dropbox.
All file types — My app needs access to a user's full Dropbox.
Then enter the name of the application (for example, HTTPCommander) and click Create app button.
Screenshot
- Further, on the Settings page open in OAuth 2 section
- for the Redirect URIs key specify urls to
default.aspx and scripts/clouds/dropbox-callback.html pages of HTTP Commander in lower register (required).
For example. If you open HTTP Commander from url https://yourdomain.com/HTCOMNET, then for Redirect URIs
add https://yourdomain.com/htcomnet/default.aspx and
https://yourdomain.com/htcomnet/scripts/clouds/dropbox-callback.html.
Note! For Redirect URIs parameter url only on https protocol can be specified,
respectively use of Dropbox opportunities possibly if you open HTTP Commander over SSL
that is signed by a valid certification authority (see FAQ: How can I use HTTP Commander with SSL?).
-
For Allow implicit grant choose Allow.
Screenshot
- On the Details tab specify Publisher, Description, App website & icons.
This is necessary for production status. Learn more about production status requirements.
Screenshot
- Go to Settings tab of HTTP Commander Admin Panel.
If the hidden settings are not visible, then click Show hidden parameters button on toolbar of Settings tab.
- For the hidden parameter DropboxAuthenticationType
(section Office) select OAuth2 value.
- In the hidden setting DropboxConsumerKey (section Office)
paste the value of App Key from Settings tab on page of created application in Dropbox.
- For the parameters EnableDownloadToDropbox
or-and EnableUploadFromDropbox (section UploadDownload)
set values to true.
-
After setting the values do not forget to save your HTTP Commander settings
(Save settings button on the toolbar of Settings tab) and restart the application
(Restart application button).
- Then open your HTTP Commander link, which you added to Redirect URIs application settings Dropbox
(for example, https://yourdomain.com/htcomnet/default.aspx), sign in and try to download the file(s)/folder(s)
in your Dropbox storage (use that Dropbox account in which you create an application) using the context menu or toolbar:
Cloud storages → download to... → Dropbox.
- Next you need to configure user access to his files in Dropbox from HTTP Commander. For this,
go to the Settings tab in your application Dropbox (from Dropbox App Console).
You have two options:
- Use development status. To do this, click Enable additional users button in line Development users.
But in this case the number of users is limited to a 100 users.
- Use production status. To do this, click Apply for production button in line Status.
Then fill out the form Request production status, specifying the Web as a Platform
and expect to change the status of.
Screenshot
Integration with Microsoft OneDrive
Integration with Microsoft OneDrive allows users of HTTP Commander
download and upload your files and folders from the cloud storage OneDrive.
If your organization uses Office365 (OneDrive for Business), refer to OneDrive for Business integration.
Otherwise, to configure this feature, perform the following steps.
- Creating and configuring HTTP Commander application in
Microsoft OneDrive Dev Center dashboard.
- To do this, follow the link
and sign in to your account OneDrive.
- On the opened page, click on the link Create application
Screenshot
Note! If you already have configured the application, then go to step 2.
- Enter the name of application (eg HTTPCommander) and click I accept button.
Screenshot
- You will then see a page with basic information about the created application.
Screenshot
- Next, choose the API Settings in nav bar on left side
and enter the value https://yourdomain.com/HTCOMNET/scripts/clouds/onedrive-callback.html
for Redirect URLs field, where https://yourdomain.com/HTCOMNET — your url to run HTTP Commander.
Click Save button.
Screenshot
- Configuring the HTTP Commander.
- Go to OneDrive Dev Center dashboard.
If you are not already logged in to your OneDrive account, log in.
Choose the HTTP Commander application (existing or newly created in the previous step).
-
If the application has been created not only that, then choose API Settings on the left and
— for Enhanced redirection security set Enabled value (if such a setting exists);
— for Redirect URLs set (or add) the value https://yourdomain.com/HTCOMNET/scripts/clouds/onedrive-callback.html,
where https://yourdomain.com/HTCOMNET — your url to run HTTP Commander.
Click Save button.
Screenshot
-
Then choose App Settings in nav bar on left side and copy the value
of Client ID (for example 0000000040122506).
Screenshot
- Go to Settings tab of HTTP Commander Admin Panel.
If the hidden settings are not visible, then click Show hidden parameters button on toolbar of Settings tab.
- In the hidden setting LiveConnectAppClientID (section Office)
paste the copied value Client ID.
- For the hidden parameter UseNewSkyDriveAPI (section Office)
set value to true.
- For the parameters EnableDownloadToSkyDrive
or-and EnableUploadFromSkyDrive (section UploadDownload)
set values to true.
-
After setting the values do not forget to save your HTTP Commander settings
(Save settings button on the toolbar of Settings tab) and restart the application
(Restart application button).