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.
 
 
 

480 lines
23 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. <script src="/scripts/vendor/modernizr.js"></script>
  19. </head>
  20. <body>
  21. <script>
  22. (function (i, s, o, g, r, a, m) {
  23. i['GoogleAnalyticsObject'] = r;
  24. i[r] = i[r] || function () {
  25. (i[r].q = i[r].q || []).push(arguments)
  26. }, i[r].l = 1 * new Date();
  27. a = s.createElement(o),
  28. m = s.getElementsByTagName(o)[0];
  29. a.async = 1;
  30. a.src = g;
  31. m.parentNode.insertBefore(a, m)
  32. })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
  33. ga('create', 'UA-40833733-1', 'transfer.sh');
  34. ga('send', 'pageview');
  35. </script>
  36. <div id="navigation">
  37. <div class="wrapper">
  38. <a href="/">
  39. <h1>transfer.sh</h1>
  40. </a>
  41. <ul class="hidden-xs">
  42. <li><a href="/">home</a>
  43. </li>
  44. <li><a href="/#samples">sample use cases</a>
  45. </li>
  46. <li><a href="/#contact">contact us</a>
  47. </li>
  48. </ul>
  49. </div>
  50. </div>
  51. <section id="home">
  52. <div class="wrapper">
  53. <h2 class="page-title">
  54. Easy file sharing from the command line</h2>
  55. <div class="row animated fadeInDown">
  56. <div id="from-terminal" class="box col-md-8 col-md-offset-2 col-xs-12">
  57. <div class="terminal-top">
  58. </div>
  59. <div id="terminal" class="terminal">
  60. <code>
  61. <span class="code-title"># Upload using cURL</span>
  62. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt https://transfer.sh/66nb8/hello.txt
  63. <br>
  64. <br>
  65. <span class="code-title"># Using the alias</span>
  66. <br>$ transfer hello.txt
  67. <br>###################################s################## 100.0% https://transfer.sh/eibhM/hello.txt
  68. </code>
  69. </div>
  70. <div id="web">
  71. <code>
  72. <br>
  73. <span class="code-title"># Upload from web</span>
  74. <br>Drag your files here, or <a class="browse" href="#"> click to browse. <br/></a>
  75. </code>
  76. <input type="file" multiple="multiple" style='display: none;' />
  77. <ul class='queue'>
  78. <li>
  79. </li>
  80. </ul>
  81. <div class='all-files'>
  82. <br>
  83. <div>
  84. <span class="code-title"># Download all your files</span>
  85. <br/>
  86. <br/>
  87. <a class="download-zip btn-cta" href="#">zip</a> <a class="download-tar btn-cta" href="#">tar.gz</a>
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. <div>
  93. <a href="#features" class="btn-cta btn-home">learn more</i> </a>
  94. </div>
  95. </div>
  96. </section>
  97. <section id="features">
  98. <div class="wrapper container">
  99. <div class="row animated fadeInDown ">
  100. <div class="col-md-3 col-xs-6">
  101. <i class="icon-terminal"></i>
  102. <h3>Made for use with shell</h3>
  103. </div>
  104. <div class="col-md-3 col-xs-6">
  105. <i class="icon-link"></i>
  106. <h3>Share files with a URL</h3>
  107. </div>
  108. <div class="col-md-3 col-xs-6">
  109. <i class="icon-database"></i>
  110. <h3>Upload up to 10 GB</h3>
  111. </div>
  112. <div class="col-md-3 col-xs-6">
  113. <i class="icon-clock"></i>
  114. <h3>Files stored for 14 days</h3>
  115. </div>
  116. </div>
  117. <div class="row animated fadeInDown">
  118. <div class="col-md-offset-3 col-md-3 col-xs-6">
  119. <i class="icon-tag"></i>
  120. <h3>For free</h3>
  121. </div>
  122. <div class="col-md-3 col-xs-6">
  123. <i class="icon-lock"></i>
  124. <h3>Encrypt your files</h3>
  125. </div>
  126. </div>
  127. </div>
  128. </section>
  129. <section id="share">
  130. <div class="wrapper">
  131. <h2 class="page-title">Preview your files in the browser!</h2>
  132. </div>
  133. </section>
  134. <section id="samples">
  135. <div class="wrapper">
  136. <h2 class="page-title">
  137. Sample use cases
  138. </h2>
  139. <div class="row">
  140. <div class="col-md-6 ">
  141. <h3>How to upload</h3>
  142. <div class="terminal-top">
  143. </div>
  144. <div class="terminal">
  145. <code>
  146. <span class="code-title"># Uploading is easy using curl</span>
  147. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
  148. <br>https://transfer.sh/66nb8/hello.txt
  149. <br>
  150. <span class="code-title"># Download the file</span>
  151. <br>$ curl https://transfer.sh/66nb8/hello.txt -o hello.txt
  152. </code>
  153. </div>
  154. </div>
  155. <div class="col-md-6 ">
  156. <h3>Add an alias to .bashrc or .zshrc <a href='https://gist.github.com/nl5887/a511f172d3fb3cd0e42d'>[gist]</a></h3>
  157. <div class="terminal-top">
  158. </div>
  159. <div class="terminal">
  160. <code>
  161. <span class="code-title"># Add this to .bashrc or its equivalent</span>
  162. <br/>transfer() { if [ $# -eq 0 ]; then echo "No arguments specified. Usage:\necho transfer /tmp/test.md\ncat /tmp/test.md | transfer test.md"; return 1; fi <br/>tmpfile=$( mktemp -t transferXXX ); if tty -s; then basefile=$(basename "$1" | sed -e 's/[^a-zA-Z0-9._-]/-/g'); curl --progress-bar --upload-file "$1" "https://transfer.sh/$basefile" >> $tmpfile; else curl --progress-bar --upload-file "-" "https://transfer.sh/$1" >> $tmpfile ; fi; cat $tmpfile; rm -f $tmpfile; }
  163. <br/>
  164. <br/>
  165. <span class="code-title"># Now you can use transfer command</span>
  166. <br>$ transfer hello.txt
  167. </code>
  168. </div>
  169. </div>
  170. </div>
  171. <a class="btn-cta" data-target="#coll" data-toggle="collapse">More examples</a>
  172. <div class="collapse " id="coll">
  173. <div class="row">
  174. <div class="col-md-6 ">
  175. <h3>Upload multiple files at once</h3>
  176. <div class="terminal-top">
  177. </div>
  178. <div class="terminal">
  179. <code>
  180. <br>$ curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt https://transfer.sh/
  181. <br>
  182. <br>
  183. <span class="code-title"># Combining downloads as zip or tar archive</span>
  184. <br>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).tar.gz
  185. <br/>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).zip
  186. </code>
  187. </div>
  188. </div>
  189. <div class="col-md-6 ">
  190. <h3>Encrypt your files before the transfer</h3>
  191. <div class="terminal-top">
  192. </div>
  193. <div class="terminal">
  194. <code>
  195. <span class="code-title"># Encrypt files with password using gpg</span>
  196. <br>$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt
  197. <br>
  198. <br>
  199. <span class="code-title"># Download and decrypt</span>
  200. <br>$ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt
  201. </code>
  202. </div>
  203. </div>
  204. </div>
  205. <div class="row">
  206. <div class="col-md-6">
  207. <h3>Scan for malware</h3>
  208. <div class="terminal-top">
  209. </div>
  210. <div class="terminal">
  211. <code>
  212. <span class="code-title"># Scan for malware or viruses using Clamav</span>
  213. <br>$ wget http://www.eicar.org/download/eicar.com
  214. <br>$ curl -X PUT --upload-file ./eicar.com https://transfer.sh/eicar.com/scan
  215. <br>
  216. <br>
  217. <span class="code-title"># Upload malware to VirusTotal, get a permalink in return</span>
  218. <br>$ curl -X PUT --upload-file nhgbhhj https://transfer.sh/test.txt/virustotal
  219. <br>
  220. </code>
  221. </div>
  222. </div>
  223. <div class="col-md-6">
  224. <h3>Backup mysql database, encrypt and transfer</h3>
  225. <div class="terminal-top">
  226. </div>
  227. <div class="terminal">
  228. <code>
  229. <span class="code-title"># Backup, encrypt and transfer</span>
  230. <br/>$ mysqldump --all-databases|gzip|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt</code>
  231. </div>
  232. </div>
  233. </div>
  234. <div class="row">
  235. <div class="col-md-6">
  236. <h3>Send email with transfer link (uses alias)</h3>
  237. <div class="terminal-top">
  238. </div>
  239. <div class="terminal">
  240. <code>
  241. <span class="code-title"># Transfer and send email with link (uses alias)</span>
  242. <br/>$ transfer /tmp/hello.txt | mail -s "Hello World" user@yourmaildomain.com
  243. </code>
  244. </div>
  245. </div>
  246. <div class="col-md-6">
  247. <h3>Using <a href="https://keybase.io/">Keybase.io</a></h3>
  248. <div class="terminal-top">
  249. </div>
  250. <div class="terminal">
  251. <code>
  252. <span class="code-title"># Import keys from keybase</span>
  253. <br/>$ keybase track [them]
  254. <span class="code-title"># Encrypt for recipient(s)</span>
  255. <br/>$ cat somebackupfile.tar.gz | keybase encrypt [them] | curl --upload-file '-' https://transfer.sh/test.txt
  256. <span class="code-title"># Decrypt</span>
  257. <br/>$ curl https://transfer.sh/sqUFi/test.md |keybase decrypt
  258. </code>
  259. </div>
  260. </div>
  261. </div>
  262. <div class="row">
  263. <div class="col-md-6">
  264. <h3>wget uploads also supported</h3>
  265. <div class="terminal-top">
  266. </div>
  267. <div class="terminal">
  268. <code>
  269. <span class="code-title"># wget</span>
  270. <br/>$ wget --method PUT --body-file=/tmp/file.tar https://transfer.sh/file.tar -O - -nv
  271. </code>
  272. </div>
  273. </div>
  274. <div class="col-md-6">
  275. <h3>Transfer pound logs</h3>
  276. <div class="terminal-top">
  277. </div>
  278. <div class="terminal">
  279. <code>
  280. <span class="code-title"># grep syslog for pound and transfer</span>
  281. <br/>$ cat /var/log/syslog|grep pound|curl --upload-file - https://transfer.sh/pound.log
  282. </code>
  283. </div>
  284. </div>
  285. </div>
  286. <div class="row">
  287. <div class="col-md-6">
  288. <h3>Send us your awesome example</h3>
  289. <div class="terminal-top">
  290. </div>
  291. <div class="terminal">
  292. <code>
  293. <span class="code-title"># Your awesome sample will be put here</span>
  294. </code>
  295. </div>
  296. </div>
  297. </div>
  298. </div>
  299. </div>
  300. </section>
  301. <section id="share">
  302. <div class="wrapper">
  303. <h2 class="page-title">Follow on GitHub</h2>
  304. <br>
  305. <br>
  306. <iframe src="https://mdo.github.io/github-buttons/github-btn.html?user=dutchcoders&repo=transfer.sh&type=follow&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="250" height="50"></iframe>
  307. <iframe src="https://mdo.github.io/github-buttons/github-btn.html?user=dutchcoders&repo=transfer.sh&type=watch&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="200" height="50"></iframe>
  308. </div>
  309. </section>
  310. <section id="reviews">
  311. <div class="wrapper">
  312. <div class="row">
  313. <div class="col-md-8 col-md-offset-2 col-xs-12">
  314. <blockquote class="twitter-tweet tweet-xl" lang="en">
  315. <a href="https://twitter.com/FloifyDave/status/517383101425516544">
  316. <img class="twitter-profile" src="images/reviews/dave.jpg" alt="">
  317. </a>
  318. <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>
  319. <a href="https://twitter.com/FloifyDave/status/517383101425516544">
  320. &mdash; Dave Sims (@FloifyDave)</a>
  321. </blockquote>
  322. </div>
  323. </div>
  324. <div class="row">
  325. <div class="col-md-6 col-xs-12">
  326. <blockquote class="twitter-tweet" lang="en">
  327. <a href="https://twitter.com/kareemk/status/517029789191118849">
  328. <img class="twitter-profile" src="images/reviews/kareem.jpg" alt="">
  329. </a>
  330. <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>
  331. </blockquote>
  332. </div>
  333. <div class="col-md-6 col-xs-12">
  334. <blockquote class="twitter-tweet" lang="en">
  335. <a href="https://twitter.com/drakpz/status/517008058841829376">
  336. <img class="twitter-profile" src="images/reviews/pg.jpeg" alt="">
  337. </a>
  338. <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>
  339. </blockquote>
  340. </div>
  341. </div>
  342. <div class="row">
  343. <div class="col-md-6 col-xs-12">
  344. <blockquote class="twitter-tweet" lang="en">
  345. <a href="https://twitter.com/jacoblindgren11/status/516975006501203968">
  346. <img class="twitter-profile" src="images/reviews/jacob.jpg" alt="">
  347. </a>
  348. <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>
  349. </p><a href="https://twitter.com/jacoblindgren11/status/516975006501203968">&mdash; Jacob Lindgren (@jacoblindgren11) </a>
  350. </blockquote>
  351. </div>
  352. <div class="col-md-6 col-xs-12">
  353. <blockquote class="twitter-tweet" lang="en">
  354. <a href="https://twitter.com/arvestad/status/519507976491499521">
  355. <img class="twitter-profile" src="images/reviews/lars.jpg" alt="">
  356. </a>
  357. <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>
  358. </blockquote>
  359. </div>
  360. </div>
  361. </div>
  362. </section>
  363. <section id="share">
  364. <div class="wrapper">
  365. <h2 class="page-title">Share the love</h2>
  366. <ul class="share-buttons">
  367. <li>
  368. <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>
  369. </a>
  370. </li>
  371. <li>
  372. <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>
  373. </li>
  374. <li>
  375. <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>
  376. </a>
  377. </li>
  378. <li>
  379. <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>
  380. </a>
  381. </li>
  382. </ul>
  383. </div>
  384. </section>
  385. <section id="contact">
  386. <div class="wrapper">
  387. <i class="icon-mail"></i>
  388. <h2 class="page-title">
  389. Any questions?
  390. </h2>
  391. <a href="#" data-uv-trigger class="btn-cta">contact us</a>
  392. </div>
  393. </section>
  394. <section id="tor">
  395. <div class="wrapper">
  396. <a href="https://www.torproject.org"><img src="images/tor.svg" alt="">
  397. </a>
  398. <br/>
  399. <a href="http://jxm5d6emw5rknovg.onion/">http://jxm5d6emw5rknovg.onion/</a>
  400. </div>
  401. </section>
  402. <footer>
  403. <div class="wrapper">
  404. <div style="">
  405. <a href="bitcoin:164ybRMLbg1dhhWWiUkXtiNr7jUhMKdJqH" label="Bitcoin+Donation" style="word-wrap: break-word;">
  406. <img border="0" src=" /images/bitcoin.png" style="margin: 0 auto;;">
  407. </a>
  408. </div>
  409. <br/>
  410. <br/>
  411. <img src="/images/Logo-orange.png" alt="Founded in Holland">
  412. <p>Made with <i class="icon-heart"></i> by <a href="http://blog.dutchcoders.io/" title="Dutch Coders">Dutch Coders</a>
  413. </p>
  414. </div>
  415. </footer>
  416. <a href="https://github.com/dutchcoders/transfer.sh/"><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"></a>
  417. <script>
  418. (function() {
  419. var uv = document.createElement('script');
  420. uv.type = 'text/javascript';
  421. uv.async = true;
  422. uv.src = '//widget.uservoice.com/5rkATbLIm8ClJQeOirOhFg.js';
  423. var s = document.getElementsByTagName('script')[0];
  424. s.parentNode.insertBefore(uv, s)
  425. })()
  426. </script>
  427. <!--[if lt IE 7]>
  428. <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>
  429. <![endif]-->
  430. <script src="/scripts/main.js"></script>
  431. </body>
  432. </html>