You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

409 rivejä
19 KiB

  1. <!doctype html>
  2. <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  3. <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
  4. <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
  5. <!--[if gt IE 8]><!-->
  6. <html class="no-js">
  7. <!--<![endif]-->
  8. <head>
  9. <meta charset="utf-8">
  10. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  11. <title>transfer.sh - Easy and fast file sharing from the command-line.</title>
  12. <meta name="description" content="Easy and fast file sharing from the command-line.">
  13. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  14. <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
  15. <link rel="stylesheet" href="styles/main.css">
  16. <link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,300' rel='stylesheet' type='text/css'>
  17. <link href='//fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>
  18. <!-- build:js scripts/vendor/modernizr.js -->
  19. <script src="bower_components/modernizr/modernizr.js"></script>
  20. <!-- endbuild -->
  21. </head>
  22. <body>
  23. <script>
  24. (function(i, s, o, g, r, a, m) {
  25. i['GoogleAnalyticsObject'] = r;
  26. i[r] = i[r] || function() {
  27. (i[r].q = i[r].q || []).push(arguments)
  28. }, i[r].l = 1 * new Date();
  29. a = s.createElement(o),
  30. m = s.getElementsByTagName(o)[0];
  31. a.async = 1;
  32. a.src = g;
  33. m.parentNode.insertBefore(a, m)
  34. })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
  35. ga('create', 'UA-40833733-1', 'transfer.sh');
  36. ga('send', 'pageview');
  37. </script>
  38. <div id="navigation">
  39. <div class="wrapper">
  40. <h1>transfer.sh</h1>
  41. <ul class="hidden-xs">
  42. <li><a href="#samples">sample use cases</a>
  43. </li>
  44. <li><a href="#contact">contact us</a>
  45. </li>
  46. </ul>
  47. </div>
  48. </div>
  49. <section id="home">
  50. <div class="wrapper">
  51. <h2>
  52. Easy file sharing from the command line</h2>
  53. <div class="row animated fadeInDown">
  54. <div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12">
  55. <div class="terminal-top">
  56. </div>
  57. <div id="terminal" class="terminal">
  58. <code>
  59. <span class="code-title"># Upload using cURL</span>
  60. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt https://transfer.sh/66nb8/hello.txt
  61. <br>
  62. <br>
  63. <span class="code-title"># Create an alias</span>
  64. <br>$ transfer hello.txt
  65. <br>##################################################### 100.0% https://transfer.sh/eibhM/hello.txt
  66. </code>
  67. </div>
  68. <div id="web">
  69. <code>
  70. <br>
  71. <span class="code-title"># Upload from web</span>
  72. <br>Drag your files here, or <a class="browse" href="#"> click to browse.</a>
  73. </code>
  74. <input type="file" multiple="multiple" style='display: none;' />
  75. <ul class='queue'>
  76. <li>
  77. </li>
  78. </ul>
  79. <div class='all-files'>
  80. <br>
  81. <div>
  82. <span class="code-title"># Download all your files</span>
  83. <br/>
  84. <br/>
  85. <a class="download-zip btn-cta" href="#">zip</a> <a class="download-tar btn-cta" href="#">tar.gz</a>
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. <div>
  91. <a href="#features" class="btn-cta btn-home">learn more</i> </a>
  92. </div>
  93. </div>
  94. </section>
  95. <section id="features">
  96. <div class="wrapper container">
  97. <div class="row animated fadeInDown ">
  98. <div class="col-md-3 col-xs-6">
  99. <i class="icon-terminal"></i>
  100. <h3>Made for use with shell</h3>
  101. </div>
  102. <div class="col-md-3 col-xs-6">
  103. <i class="icon-link"></i>
  104. <h3>Share files with a URL</h3>
  105. </div>
  106. <div class="col-md-3 col-xs-6">
  107. <i class="icon-database"></i>
  108. <h3>Upload up to 5 GB</h3>
  109. </div>
  110. <div class="col-md-3 col-xs-6">
  111. <i class="icon-clock"></i>
  112. <h3>Files stored for 14 days</h3>
  113. </div>
  114. </div>
  115. <div class="row animated fadeInDown">
  116. <div class="col-md-offset-3 col-md-3 col-xs-6">
  117. <i class="icon-tag"></i>
  118. <h3>For free</h3>
  119. </div>
  120. <div class="col-md-3 col-xs-6">
  121. <i class="icon-lock"></i>
  122. <h3>Encrypt your files</h3>
  123. </div>
  124. </div>
  125. </div>
  126. </section>
  127. <section id="samples">
  128. <div class="wrapper">
  129. <h2>
  130. Sample use cases
  131. </h2>
  132. <div class="row">
  133. <div class="col-md-6 ">
  134. <h3>How to upload</h3>
  135. <div class="terminal-top">
  136. </div>
  137. <div class="terminal">
  138. <code>
  139. <span class="code-title"># Uploading is easy using curl</span>
  140. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
  141. <br>
  142. <br>
  143. <span class="code-title"># Download the file</span>
  144. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
  145. </code>
  146. </div>
  147. </div>
  148. <div class="col-md-6 ">
  149. <h3>Create an alias and add it to .bashrc or .zshrc</h3>
  150. <div class="terminal-top">
  151. </div>
  152. <div class="terminal">
  153. <code>
  154. <span class="code-title"># Add this to .bashrc or its equivalent</span>
  155. <br/>transfer() {
  156. <br># write to output to tmpfile because of progress bar
  157. <br>tmpfile=$( mktemp -t transferXXX ); curl --progress-bar --upload-file $1 https://transfer.sh/$(basename $1) >> $tmpfile; cat $tmpfile; rm -f $tmpfile; }
  158. <br/>
  159. <br/>alias transfer=transfer
  160. <br/>
  161. <br/>
  162. <span class="code-title"># Now you can use transfer command</span>
  163. <br>$ transfer hello.txt
  164. </code>
  165. </div>
  166. </div>
  167. </div>
  168. <a class="btn-cta" data-target="#coll" data-toggle="collapse">More examples</a>
  169. <div class="collapse " id="coll">
  170. <div class="row">
  171. <div class="col-md-6 ">
  172. <h3>Upload multiple files at once</h3>
  173. <div class="terminal-top">
  174. </div>
  175. <div class="terminal">
  176. <code>
  177. <br>$ curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt https://transfer.sh/
  178. <br>
  179. <br>
  180. <span class="code-title"># Combining downloads as zip or tar archive</span>
  181. <br>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).tar.gz
  182. <br/>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).zip
  183. </code>
  184. </div>
  185. </div>
  186. <div class="col-md-6 ">
  187. <h3>Encrypt your files before the transfer</h3>
  188. <div class="terminal-top">
  189. </div>
  190. <div class="terminal">
  191. <code>
  192. <span class="code-title"># Encrypt files with password using gpg</span>
  193. <br>$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt
  194. <br>
  195. <br>
  196. <span class="code-title"># Encrypt and upload</span>
  197. <br>$ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt
  198. </code>
  199. </div>
  200. </div>
  201. </div>
  202. <div class="row">
  203. <div class="col-md-6">
  204. <h3>Scan for malware</h3>
  205. <div class="terminal-top">
  206. </div>
  207. <div class="terminal">
  208. <code>
  209. <span class="code-title"># Scan for malware or viruses using Clamav</span>
  210. <br>$ wget http://www.eicar.org/download/eicar.com
  211. <br>$ curl -X PUT --upload-file ./eicar.com https://transfer.sh/eicar.com/scan
  212. <br><br>
  213. <span class="code-title"># Upload malware to VirusTotal, get a permalink in return</span>
  214. <br>$ curl -X PUT --upload-file nhgbhhj https://transfer.sh/test.txt/virustotal
  215. <br>
  216. </code>
  217. </div>
  218. </div>
  219. <div class="col-md-6">
  220. <h3>Backup mysql database, encrypt and transfer</h3>
  221. <div class="terminal-top">
  222. </div>
  223. <div class="terminal">
  224. <code>
  225. <span class="code-title"># Backup, encrypt and transfer</span>
  226. <br/>$ mysqldump --all-databases|gzip|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt </code>
  227. </div>
  228. </div>
  229. </div>
  230. <div class="row">
  231. <div class="col-md-6">
  232. <h3>Send email with transfer link (uses alias)</h3>
  233. <div class="terminal-top">
  234. </div>
  235. <div class="terminal">
  236. <code>
  237. <span class="code-title"># Transfer and send email with link (uses alias)</span>
  238. <br/>$ transfer /tmp/hello.txt | mail -s "Hello World" user@yourmaildomain.com
  239. </code>
  240. </div>
  241. </div>
  242. <div class="col-md-6">
  243. <h3>Send us your awesome example</h3>
  244. <div class="terminal-top">
  245. </div>
  246. <div class="terminal">
  247. <code>
  248. <span class="code-title"># Your awesome sample will be put here</span>
  249. </code>
  250. </div>
  251. </div>
  252. </div>
  253. </div>
  254. </div>
  255. </section>
  256. <section id="reviews">
  257. <div class="wrapper">
  258. <div class="row">
  259. <div class="col-md-8 col-md-offset-2 col-xs-12">
  260. <blockquote class="twitter-tweet tweet-xl" lang="en">
  261. <img class="twitter-profile" src="images/reviews/dave.jpg" alt="">
  262. <p><a href="https://twitter.com/dutchcoders">@dutchcoders</a> Thanks for transfer.sh. Just used it for a production purpose for a customer. So great, so easy, so https. :)</p>
  263. <a href="https://twitter.com/FloifyDave/status/517383101425516544">
  264. &mdash; Dave Sims (@FloifyDave)</a>
  265. </blockquote>
  266. </div>
  267. </div>
  268. <div class="row">
  269. <div class="col-md-6 col-xs-12">
  270. <blockquote class="twitter-tweet" lang="en">
  271. <img class="twitter-profile" src="images/reviews/kareem.jpg" alt="">
  272. <p><a href="https://twitter.com/dutchcoders">@dutchcoders</a> love transfer.sh! any change we can *pay* for a self-hosted version?</p><a href="https://twitter.com/kareemk/status/517029789191118849">&mdash; Kareem Kouddous (@kareemk) </a>
  273. </blockquote>
  274. </div>
  275. <div class="col-md-6 col-xs-12">
  276. <blockquote class="twitter-tweet" lang="en">
  277. <img class="twitter-profile" src="images/reviews/pg.jpeg" alt="">
  278. <p><a href="http://t.co/JomAmqWYEB">http://t.co/JomAmqWYEB</a> by <a href="https://twitter.com/dutchcoders">@dutchcoders</a> is pure awesomeness! any chance of source on github? :-)</p><a href="https://twitter.com/drakpz/status/517008058841829376">&mdash; PJ Spagnolatti (@drakpz)</a>
  279. </blockquote>
  280. </div>
  281. </div>
  282. <div class="row">
  283. <div class="col-md-6 col-xs-12">
  284. <blockquote class="twitter-tweet" lang="en">
  285. <img class="twitter-profile" src="images/reviews/jacob.jpg" alt="">
  286. <p>Love transfer.sh! Will be using it from now on! Thanks for the amazing service we can use from the CLI <a href="https://twitter.com/dutchcoders">@dutchcoders</a>
  287. </p><a href="https://twitter.com/jacoblindgren11/status/516975006501203968">&mdash; Jacob Lindgren (@jacoblindgren11) </a>
  288. </blockquote>
  289. </div>
  290. <div class="col-md-6 col-xs-12">
  291. <blockquote class="twitter-tweet" lang="en">
  292. <img class="twitter-profile" src="images/reviews/lars.jpg" alt="">
  293. <p>transfer.sh is my latest fav service! Try simple command-line and web file sharing! <a href="https://t.co/FSrsb1JKJd">https://t.co/FSrsb1JKJd</a>&#10;Thanks <a href="https://twitter.com/dutchcoders">@dutchcoders</a> !</p> <a href="https://twitter.com/arvestad/status/519507976491499521">&mdash; Lars Arvestad (@arvestad)</a>
  294. </blockquote>
  295. </div>
  296. </div>
  297. </div>
  298. </section>
  299. <section id="share">
  300. <div class="wrapper">
  301. <h2>Share the love</h2>
  302. <ul class="share-buttons">
  303. <li>
  304. <a href="https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Ftransfer.sh&t=" target="_blank" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(document.URL) + '&t=' + encodeURIComponent(document.URL)); return false;"> <i class="icon-facebook"></i>
  305. </a>
  306. </li>
  307. <li>
  308. <a href="https://twitter.com/intent/tweet?source=http%3A%2F%2Ftransfer.sh&text=:%20http%3A%2F%2Ftransfer.sh" target="_blank" title="Tweet" onclick="window.open('https://twitter.com/intent/tweet?text=' + encodeURIComponent(document.title) + ':%20' + encodeURIComponent(document.URL)); return false;"> <i class="icon-twitter"></i>
  309. </li>
  310. <li>
  311. <a href="https://plus.google.com/share?url=http%3A%2F%2Ftransfer.sh" target="_blank" title="Share on Google+" onclick="window.open('https://plus.google.com/share?url=' + encodeURIComponent(document.URL)); return false;"> <i class="icon-gplus"></i>
  312. </a>
  313. </li>
  314. <li>
  315. <a href="http://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Ftransfer.sh&title=&summary=&source=http%3A%2F%2Ftransfer.sh" target="_blank" title="Share on LinkedIn" onclick="window.open('http://www.linkedin.com/shareArticle?mini=true&url=' + encodeURIComponent(document.URL) + '&title=' + encodeURIComponent(document.title)); return false;"> <i class="icon-linkedin"></i>
  316. </a>
  317. </li>
  318. </ul>
  319. </div>
  320. </section>
  321. <section id="contact">
  322. <div class="wrapper">
  323. <i class="icon-mail"></i>
  324. <h2>
  325. Any questions?
  326. </h2>
  327. <a href="#" data-uv-trigger class="btn-cta">contact us</a>
  328. </div>
  329. </section>
  330. <footer>
  331. <div class="wrapper">
  332. <img src="images/Logo-orange.png" alt="Founded in Holland">
  333. <p>Made with <i class="icon-heart"></i> by <a href="http://dutchcoders.io/" title="Dutch Coders">Dutch Coders</a>
  334. </p>
  335. </div>
  336. </footer>
  337. <a href="https://github.com/dutchcoders/transfer.sh/">
  338. <img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png">
  339. </a>
  340. <script>
  341. (function() {
  342. var uv = document.createElement('script');
  343. uv.type = 'text/javascript';
  344. uv.async = true;
  345. uv.src = '//widget.uservoice.com/5rkATbLIm8ClJQeOirOhFg.js';
  346. var s = document.getElementsByTagName('script')[0];
  347. s.parentNode.insertBefore(uv, s)
  348. })()
  349. </script>
  350. <!--[if lt IE 7]>
  351. <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
  352. <![endif]-->
  353. <script>
  354. (function(b, o, i, l, e, r) {
  355. b.GoogleAnalyticsObject = l;
  356. b[l] || (b[l] =
  357. function() {
  358. (b[l].q = b[l].q || []).push(arguments)
  359. });
  360. b[l].l = +new Date;
  361. e = o.createElement(i);
  362. r = o.getElementsByTagName(i)[0];
  363. e.src = '//www.google-analytics.com/analytics.js';
  364. r.parentNode.insertBefore(e, r)
  365. }(window, document, 'script', 'ga'));
  366. ga('create', 'UA-40833733-1', 'transfer.sh');
  367. ga('send', 'pageview');
  368. </script>
  369. <!-- build:js scripts/main.js -->
  370. <script src="bower_components/jquery/dist/jquery.js"></script>
  371. <script src="bower_components/uri.js/src/URI.min.js"></script>
  372. <script src="bower_components/bootstrap/js/transition.js"></script>
  373. <script src="bower_components/bootstrap/js/collapse.js"></script>
  374. <script src="scripts/main.js"></script>
  375. <!-- endbuild -->
  376. </body>
  377. </html>