Skip to content

Instantly share code, notes, and snippets.

@CrabDude
Last active August 29, 2015 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CrabDude/040af9c1b93e350608ff to your computer and use it in GitHub Desktop.
Save CrabDude/040af9c1b93e350608ff to your computer and use it in GitHub Desktop.
Dropbox README

Dropbox (raw)

This is a basic Dropbox clone to sync files across multiple remote folders.

Time spent: <Number of hours spent>

Features

Required

  • Client can make GET requests to get file or directory contents
  • Client can make HEAD request to get just the GET headers
  • Client can make PUT requests to create new directories and files with content
  • Client can make POST requests to update the contents of a file
  • Client can make DELETE requests to delete files and folders
  • Server will serve from --dir or cwd as root
  • Client will sync from server over TCP to cwd or CLI dir argument

Optional

  • Client and User will be redirected from HTTP to HTTPS
  • Server will sync from client over TCP
  • Client will preserve a 'Conflict' file when pushed changes preceeding local edits
  • Client can stream and scrub video files (e.g., on iOS)
  • Client can download a directory as an archive
  • Client can create a directory with an archive
  • User can connect to the server using an FTP client

Walkthrough

Video Walkthrough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment