File preview via a shared link - google-drive-api

I've got trouble with shared links pointing to ZIP files. Even though I am still able to download the ZIP file, I've got a message saying "A problem occurred with the file preview".
This message is displayed only when I am not authenticated and only with ZIP files in my case. If I am authenticated, the preview does work fine.
Anyway, to proceed with the download directly and not use the preview at all ?
D?

Related

Receiving a script error on image links in a .chm file

I have an old compiled HTML Help file (.chm), along with a folder filled with .tiff images. When clicking on an image link within the viewer, I am presented with a script error:
Line: 13 Char: 2 Error: Unspecified Code: 0 URL: mk:#MSITStore:C:\Users\caleb\Desktop\New%20folder\747AIPC.chm::/js/utils.js
I have unblocked the .chm file, tried moving it to the same directory as the images, have full admin access, results are the same. I've also tried opening it with SumatraPDF but when I click the image link nothing happens, no error or anything. This issue is experienced both on my W11 machine, and another user's W10 device. In both instances we have full admin rights, files are unblocked, and they live in a folder on the desktop.
Any insight at all is greatly appreciated.

Why doesn’t my website update even though the file has been uploaded successfully? (FTP)

I have been trying in vain to update my website. I use the following information for a connection:
server
name + password
port
SFTP
When I save the file, I get a message that the file was uploaded successfully.
However, the website does not update.
In addition, the file on the server does not seem to correspond to the file displayed on the e.g. homepage.
I am happy about every answer.
Thank you in advance.
Maybe the files are cached so even though you change the files, server might be responding you with cached results. To check if that's the case, open your developer console, then go to Network tab and then refresh your page. When the data is loaded, check if it says "cached" on "Status" column. If so, try force refreshing your page by pressing CTRL+F5.

How do I create a network file download link in a webpage?

In a webpage, I'm trying to create a link to a file that's on a network drive, but its not working. I'm using Firefox due to other restrictions on the website. If I click on the link, nothing happens.
Here's what I've tried:
FileName
I've also tried this, but same result:
FileName
Open the Console, read the error messages.
When I constructed a test case, it said:
Security Error: Content at http://localhost:7007/ may not load or link to file:///tmp/adobegc.log.
You cannot link from an HTTP served webpage to something on the user's local filesystem.

server not reading css and js files

I have created a website using css, js and jquery, and everything works fine on my local machine, but after uploading it to the server, it was only reading the index.html file, leaving out the css and js. Below you can see the website's structure, after being uploaded to the server, on FileZilla.
enter image description here
I have decided to delete everything, re-check the paths and upload them again, but now all I get is a "403 Forbidden" message, saying that "You don't have permission to access / on this server."
Check file permissions of all the files.
Triple check file paths
/www/style.css
./www/style.css
^ Notice this dot
The above are two completely differnet paths. My guess is, that the second one is the correct one and should lead to style in your specific example

Can't upload chrome extension--.json file not selectable

So, I'm going through Steven Foote's "Learning How to Program" book and the beginning section has us uploading a manifest.json file to chrome://extensions. Using http://jsonlint.com/, the code seems valid.
When I go to upload the .json file to the extension page, it is unselectable (can't click on the file")
http://i.imgur.com/XbGeTpB.png
Any suggestions?
Thanks.
A manifest JSON file is useless by itself - it describes how to handle the rest of the content in the folder.
Which is why, in fact, you need to select the folder (that contains the manifest) to load as an unpacked extension.
You'll notice that the dialog in your screenshot asks for exactly that and the "Select" button is active even though you haven't selected any files. You're in the target directory and there's nothing extra you need to do.
And if, later, you publish to CWS, you'll need to provide a zip of your extension folder.