Is there a way to create a link (i.e that dropbox will redirect to a local file on my computer if the file is synced?
I run my own web server and each web page maps to a folder. i'd like to be able to create a link on that page that opens up that folder in explorer or finder?
thanks
Related
I have Flutter Website in IIS 10 and I want to put my API to the same domain in the "API" folder
how do I do it?
First, right click your website - Add web application
Second, name the alias as "API" ,choose the path as your api application folder.
Then, visit "domain/API" will be your API content. Such as there is a "weatherforecast" route in my testAPI.
Good day
I am currently trying to develop a progressive web app for a Moodle site, but I am unable to download files from the Moodle site.
I made use of https://www.pwabuilder.com/ to build the PWA and generate the service workers. I added the service workers to the https Moodle site, as required. The service workers are registered as they should be when using the PWA.
The PWA work perfectly for opening external links soos as URLs (URLs open in the app browser as needed).
I am however unable to download any files such as pdf documents from the moodle site.
I tried to develop an Ionic app with a basic iframe which embeds the Moodle site in order to determine if that would work. I was able to open external links as well, but still unable to open/download documents.
I then embedded the following website http://www.pdfpdf.com/samples/ in an iframe in an Ionic app, which hosts some sample pdf files. I was then able to download the pdf documents as needed.
I them embedded another website from another server that we have, but was also unable to download any documents
When emulating the Ionic app in a browser, I have always been able to download files as needed, as it is just another "browser" accessing the files.
So my guess is that some configuration on the server is blocking the download of files when requested from an app such as a progressive web app?
Any help or pointers would be highly appreciated.
I am trying to find what files to upload and where for my web confluence plugin. I know the atlassian-connect.json needs to be uploaded to an https:// location. Do I upload that project root direct in the same location as well as all the folders, or can I skip uploading the node_modules folder?
You need to host the whole app on a hosting platform that you choose, and yes that includes the atlassian-connect.json file. Once you upload it and have it running you can install it into your Confluence app using the url to your atlassian-connect.json file.
If you haven't already, you should go through the Getting Started guide on the docs. This will walk you through setting up an app and getting it running locally and installing a running app into Confluence.
can an azure web site be a single index.html file?
I keep getting The page cannot be displayed because an internal server error has occurred.
and when I look at wwwroot my that file keeps disappearing.
I'm deploy using ftp-simple through visual studio code into /site/wwwroot/
Yes, an Azure Web App can be a single index.html. Try creating a clean new site, and dropping an index.html in d:\home\site\wwwroot via Kudu Console (or FTP), and you will be able to request it.
A friend sent me the URL of a dropbox folder he shared with me. This folder has files whose total size is about 8GB.
I have a basic account with 2GB limit, so I cannot add the shared folder contents to my dropbox folder.
How do I programmatically download all the files from the shared folder to my PC?
I checked the documentation (both v1 and v2) and didn't find any APIs that would do this. Am I missing something?
The current version of the Dropbox API, has endpoints for getting the metadata of shared links, as well as downloading files from shared links:
to get the metadata for a shared link: /2/sharing/get_shared_link_metadata
to download files from a shared link: /2/sharing/get_shared_link_file
The /2/sharing/get_shared_link_metadata endpoint unfortunately doesn't return the file listing though, so if you need to programmatically get the file listing for use with /2/sharing/get_shared_link_file, as a workaround you can use the API v1 endpoint /1/metadata/link.
Edit:
Dropbox API v2 now supports listing the contents of a shared link for a folder. This can be accomplished using the same interface as listing a folder in a connected user's account, via the list_folder functionality. To list the contents of a shared link for a folder, you instead provide the shared link URL in the shared_link parameter to /2/files/list_folder.
If you're using an official SDK, there will also be a corresponding method for this endpoint.