Skip to content Skip to sidebar Skip to footer

How to Upload File to Drive With Active Links

Learn about secret URL tricks for Google Drive to quickly create straight download links, copy or preview shared files in Drive.

With Google Drive, you tin store files in the cloud and share them hands with anyone. Open whatsoever file in Google Drive, click the Share button and you'll go a URL (link) that others can utilize to admission your file. This is mutual knowledge but Google Drive has plenty of URL tricks upward its sleeve that will make these simple Bulldoze links even more powerful.

Google Drive URL Tricks

Google Drive Download Links

Google Drive Web Viewer

Google Bulldoze includes a built-in web viewer so people can view your shared files - from Microsoft Office documents to videos to AutoCAD drawings - directly in their browser. You can use this web viewer to view online files without having to download the files to your reckoner.

https://docs.google.com/viewer?url=FILE_URL

Replace FILE_URL with the full http link of the online certificate and anyone can view your file in the browser itself. Here's an example.

Reader Mode for Google Drive Files

You can view native Google documents in reader mode (sans the Google UI) by simply replace /edit in the Google Drive file URL with /preview.

So if the original share link of a file in Google Drive is:

https://docs.google.com/spreadsheets/d/SHEET_ID/edit

You lot can view the same document in a make clean, reader mode using the link:

https://docs.google.com/spreadsheets/d/SHEET_ID/preview

Here'south a Google Sheet, Google Document and Google Slides presentation in preview style that is less-cluttered without whatsoever menus and toolbars and thus loads faster.

Embed Google Documents in Web Pages

The /preview is useful when y'all need to embed a document, spreadsheet or presentation from Bulldoze in your spider web folio using the IFRAME tag as in this live example.

                          <iframe src="https://docs.google.com/certificate/d/FILE_ID/preview" acme="600px" width="800px" allowfullscreen>                                                </iframe                >                                    

Download and Consign Google Drive Files

The native file viewer is useful but sometimes you lot may want to bypass the built-in Google Docs viewer and force the browser to download the file instead of opening it. Thus if a user has Photoshop on their computer, the PSD file that you take shared through Google Drive will open in Photoshop and not in their spider web browser.

When y'all upload whatever file in Google Drive and share it, the shared link looks like this:

https://bulldoze.google.com/open?id=DRIVE_FILE_ID

The FILE_ID is unique for every file in Google Bulldoze. If you lot copy this FILE_ID and use it in the URL beneath, you'll get a direct link to download the file from Google Drive (instance).

https://bulldoze.google.com/uc?export=download&id=DRIVE_FILE_ID

If you lot wish to open the file in the Google Bulldoze web viewer, the viewer URL would be (instance):

https://drive.google.com/file/d/DRIVE_FILE_ID/view

The directly download URL fob works for native Google documents likewise. This comes really handy if you lot want to give users an option to download your Google Document as a read-just PDF file or your Google Spreadsheet as an Excel XLS file.

Google Docs - Direct Downloads

Any document in your Google Drive has a URL similar:

https://docs.google.com/document/d/DOC_FILE_ID/edit

Supercede /edit with /export?format=, add the file format that the document should be saved equally and your download link is set (example).

            https://docs.google.com/document/d/DOC_FILE_ID/export?format=pdf https://docs.google.com/document/d/DOC_FILE_ID/export?format=dr.          

The above links will at present download the same Google document in Word (.docx) and PDF formats. You can likewise specify txt, html, odt (OpenDocument) or epub for downloading the Google Document as an e-book.

Like Google Documents, the URLs of presentations in Google Drive accept this format:

https://docs.google.com/presentation/d/PRESENTATION_ID/edit

The direct download links for Google Slides is slightly unlike then Google Documents. Hither replace /edit with /consign/format where format tin can be pptx for downloading Google Slides every bit Microsoft Powerpoint files or PDF for exporting the presentation as a PDF slideshow.

            https://docs.google.com/presentation/d/PRESENTATION_ID/consign/pdf https://docs.google.com/presentation/d/PRESENTATION_ID/export/pptx          

The direct links for downloading the same presentation deck in PowerPoint (.pptx) and PDF formats are beneath: For case, hither'southward a presentation on Google Slides that you directly download as a PDF or a PPT file.

Download Google Slides as PNG Files

With Google Slides, y'all can either consign the unabridged presentation as a PDF or you tin create links to individual slides that will download the slide every bit a loftier-res PNG file.

All you demand to do is add ?pageid=pPAGE_NUMBER to the export url. So if I were to download the 10th slide as a PNG file, the URL would be:

https://docs.google.com/presentation/d/FILE_ID/export/png?pageid=p10

Also come across: Link Direct to specific Google Slide

Open your Google Spreadsheet in Google Drive, brand the sheet Public (or share with Anyone with a link) and make a note of the shared URL. It should exist something like this:

https://docs.google.com/spreadsheets/d/SPREADSHEET_ID/edit

The straight download links for Google Sheets are similar to Google Docs and the sheets can be exported as PDF, Excel XLSX and CSV files.

            https://docs.google.com/spreadsheets/d/FILE_ID/export?format=xlsx https://docs.google.com/spreadsheets/d/FILE_ID/export?format=pdf https://docs.google.com/spreadsheets/d/FILE_ID/export?format=csv          

For instance, here'southward the COVID-19 spreadsheet and yous can directly download the file equally PDF or XLS file with simple manipulation of the original sheet URL.

Too see: Email Google Sheets on Schedule

Copy and Brand any shared Google Drive File your own

Replace /edit with /re-create in the URL of whatever native Google Bulldoze file and anyone can click that link to quickly make a copy of that file in their own Google Drive. Attempt here.

            Original Link: https://docs.google.com/document/d/FILE_ID/edit  Re-create Link: https://docs.google.com/document/d/FILE_ID/re-create          

The /copy URL trick works for Google Docs, Sheets, Slides and Google Scripts. Add together ?copyComments=true if y'all would similar the copied document to include the comments from the original document. Set includeResolvedCommentsOnCopy=fake to skip copying resolved comments and copyCollaborators=false to non share the copied certificate with the original collaborators.

Yous can apply it for Google Forms too but the course will be copied to another user'southward Google Account only if the form possessor has granted admission to the form.

Invite users when copying documents

If you add userstoinvite=email@domain.com to the copy URL, the Google user who is copying the document will be prompted to share the document with the specific Google account immediately after copying the document.

https://docs.google.com/document/d/FILE_ID/copy?userstoinvite=emailaddres

Google Drawings - Embed as Image

You tin can export your Google Drawings as SVG, PNG, JPEG or PDF files past replace /edit in the drawing URL with /export/FORMAT.

For instance, if the Google Drawing URL in Drive is:

https://docs.google.com/drawings/d/FILE_ID/edit

The direct link for downloading the cartoon in vector format like SVG or equally a PDF file would be:

            https://docs.google.com/drawings/d/FILE_ID/consign/svg https://docs.google.com/drawings/d/FILE_ID/consign/pdf https://docs.google.com/drawings/d/FILE_ID/consign/jpg          

Y'all can fifty-fifty utilize these links to embed Google Drawings equally inline images in your HTML webpages using the <img> tag as shown hither.

                                                            <p                >                                                              <img                src                                  =                  "https://docs.google.com/drawings/d/FILE_ID/export/png"                                alt                                  =                  "Google Drawing"                                />                                                              </p                >                                    

Also see: The Almost Of import Google URLs

lagronethrons.blogspot.com

Source: https://www.labnol.org/internet/direct-links-for-google-drive/28356/

Postar um comentário for "How to Upload File to Drive With Active Links"