Canvas LMS : the file uploaded can not be previewed or downloaded - canvas-lms

I am using Canvas LMS under AWS EC2 (Amazon Web Services). and I can upload some files there, but they seem not previewed or downloaded. So I want to know what the problem is. here link is my screenshot:
photo 1
photo 2
(only file name is there, but can not be opened !)

Related

Unable to see my images on web hosted by Github

I'm facing a problem that my images (local saved images) in html file are not visible when I host my html file using Github.
I hosted many times using different methods but unable to fix it..

Google Sites HTML export keeps redirecting to live site

I was trying to export a Google Site I made for a project. I used wget to spider through every page and to download the html files and linked content. When I try to open "index.html" in Chrome, it does open the local HTML file, but it redirects me to the live version immediately after.
Is there anyway I could modify the HTML code so that it won't head straight to the actual website? I just want to have a local copy of it for reference, and I don't want to store it on Drive.
As the HTML file is too big to type out, I have provided it on Pastebin here.
.
You need a better question. No website works offline, or they do if you download all the files to your user’s computer so the user can view it offline. But at some point they had to visit it online to get it.
Or you save it as an html site and hand it to them on a USB drive. That’s offline to that extent. But then it’s not really a website, its an html file.
Or otherwise, if you need a website for your school which can be used by anyone through internet / intranet, you have two options -
1. Create and host a website in an online server
. a. You have to buy space and deploy a server yourself.
. b. They will a run website in their webserver for you. You just need to give money
2. Deploy a webserver in the school's any one machine and get it in other machines.
Rephrase the question for a better answer.

Chromebook photo access

I'm looking for a way to access the files in "Downloads" on a Chromebook.
Currently, when a user takes a picture with the Camera app on Chrome OS, it stores a photo in the app. In that list of photos, you can choose to save the file to disk. Because the Chrome OS local storage options are limited, it seems like the options are to Google Drive or the local Downloads folder.
I'd like to be able to able to access these files through a developed extension (or other means if appropriate).
I found https://developer.chrome.com/extensions/downloads, but it doesn't list random photos placed in the downloads folder since they were initiated from the browser.
Any ideas?

Static site upload to S3 using DiskStation Cloud Sync causes download response instead of page serve

I have a static website with 7844 pages on 1 topic (schools in Holland). This is based on 7844 named folders with 7844 index.html files, total size 209 MB. E.g. this is a published page.
The manual upload to my AWS S3 bucket (management console, select bucket, select folder, select upload, drag and drop) is very slow, it sometimes takes 12 hours to upload a new version of all pages.
I therefore wanted my Synology DiskStation to do the upload in the background. Using the DiskStation "Cloud Sync" tool.
The upload runs but the result is strange: the uploaded page is no longer served as webpage by S3 but instead triggers a download of the index.html files. E.g. this page that was uploaded by DiskStation Cloud Sync.
Hoping for an explanation of this behavior and advise on the best solution to do the upload in an easy way... (I am looking into using boto on python now).
FYI Synology tech support has analysed the logfiles and confirms that this is an issue with the software. I.e. Cloud Sync 'isn't setting the correct mime types for a static website' as Mark suggested. -> The issue is that the mime type on set by Cloud Sync is "document". It would need to be "text/html" for the browser to view it as a website.
Synology Technical Support recorded the issue and states that their developers are working on it and hope to fix it in future Cloud Sync package update.

Open file after saving to local in flex web application

I have web application in which there datgrid inside there on last column there is pdf icon. On click of that i get pdf file byte array.
Now, i want to open that pdf in pdf reader/viewer at client side.
For that i have downloaded it as pdf like:
var fR:FileReference = new FileReference();
fR.save(byteArray,"test.pdf");
But, i can't open that pdf in inside viewer. I have searched lots of things but didn't get any solution for that.
My aim is to open pdf file at client side from bytearray which got in response.
Any help would be greatly appreciated.
But, i can't open that pdf in inside viewer.
I'm glad you can't. Otherwise, every flash file that's running on a website could start applications on my computer and wreak havoc.
Your intentions may be good, but those of others aren't. That's why security policies and sandboxes are in place.
If you want that kind of access to a client computer, you should build a desktop application with Air.
In the Flash Player you can't open the PDF from a ByteArray response. What you can do is have your server respond with an actual PDF document and navigate the user's browser to the PDF URL using navigateToURL(). This is up to the client's browser, but in many cases the browser will allow the user to view the PDF or open the PDF in a viewer app.