Join Joseph LeBlanc for an in-depth discussion in this video Uploading files, part of Up and Running with Cloud Storage APIs.
Files can be uploaded to S3 buckets by sending properly formatted requests.…Let's set up one of these requests now. Go to the exercise files and then go to…Chapter 02 and video 3 and then the start folder.…Copy the App folder to the server. Now let's edit the server.…First, let's go to views, they're two files here layout.jade and upload.jade.…Layout.jade is controlling the overall layout of our HTML mark up.…
Jade is a shorthand way of writing HTML. For instance, on line 4 here, we're…declaring a title tag. And then we're setting Amazon S3 as the…value of that tag. We're also including the Bootstrap CSS…framework from the Public folder. Finally, on line 7, we're declaring a…block named content. In upload.jade, on line 1, we're extending…the layout. This means we want jade to use layout.jade…for the rest of this file. Then on line three, we're defining the…content we want to use for the layout. Line five has a conditional.…
If the done variable is set to true, we display a paragraph tag saying the upload…
- Why use cloud storage?
- Granting access to Amazon S3 buckets
- Displaying bucket contents
- Downloading files immediately
- Creating a Dropbox application
- Finding, downloading, and uploading files
Skill Level Beginner
1. Cloud Storage Overview
2. Accessing Amazon S3 Buckets via REST
3. Other Container-Based Services
4. Creating Dropbox Apps
5. Other App-Driven Services
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.