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.
 
 
 

441 lines
21 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"># Create an alias</span>
  66. <br>$ transfer hello.txt
  67. <br>##################################################### 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 5 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="samples">
  130. <div class="wrapper">
  131. <h2 class="page-title">
  132. Sample use cases
  133. </h2>
  134. <div class="row">
  135. <div class="col-md-6 ">
  136. <h3>How to upload</h3>
  137. <div class="terminal-top">
  138. </div>
  139. <div class="terminal">
  140. <code>
  141. <span class="code-title"># Uploading is easy using curl</span>
  142. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
  143. <br>
  144. <br>
  145. <span class="code-title"># Download the file</span>
  146. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
  147. </code>
  148. </div>
  149. </div>
  150. <div class="col-md-6 ">
  151. <h3>Create an alias and add it to .bashrc or .zshrc</h3>
  152. <div class="terminal-top">
  153. </div>
  154. <div class="terminal">
  155. <code>
  156. <span class="code-title"># Add this to .bashrc or its equivalent</span>
  157. <br/>transfer() {
  158. <br># write to output to tmpfile because of progress bar
  159. <br>tmpfile=$( mktemp -t transferXXX ); basefile=$(basename "$1" | sed -e 's/[^a-zA-Z0-9]/-/g'); curl --progress-bar --upload-file "$1" "https://transfer.sh/$basefile" >> $tmpfile; cat $tmpfile; rm -f $tmpfile;
  160. <br/>}
  161. <br/>
  162. <br/>alias transfer=transfer
  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"># Encrypt and upload</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>Send us your awesome example</h3>
  248. <div class="terminal-top">
  249. </div>
  250. <div class="terminal">
  251. <code>
  252. <span class="code-title"># Your awesome sample will be put here</span>
  253. </code>
  254. </div>
  255. </div>
  256. </div>
  257. </div>
  258. </div>
  259. </section>
  260. <section id="share">
  261. <div class="wrapper">
  262. <h2 class="page-title">Follow on GitHub</h2>
  263. <br>
  264. <br>
  265. <iframe src="//ghbtns.com/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>
  266. <iframe src="//ghbtns.com/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>
  267. </div>
  268. </section>
  269. <section id="reviews">
  270. <div class="wrapper">
  271. <div class="row">
  272. <div class="col-md-8 col-md-offset-2 col-xs-12">
  273. <blockquote class="twitter-tweet tweet-xl" lang="en">
  274. <a href="https://twitter.com/FloifyDave/status/517383101425516544">
  275. <img class="twitter-profile" src="images/reviews/dave.jpg" alt="">
  276. </a>
  277. <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>
  278. <a href="https://twitter.com/FloifyDave/status/517383101425516544">
  279. &mdash; Dave Sims (@FloifyDave)</a>
  280. </blockquote>
  281. </div>
  282. </div>
  283. <div class="row">
  284. <div class="col-md-6 col-xs-12">
  285. <blockquote class="twitter-tweet" lang="en">
  286. <a href="https://twitter.com/kareemk/status/517029789191118849">
  287. <img class="twitter-profile" src="images/reviews/kareem.jpg" alt="">
  288. </a>
  289. <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>
  290. </blockquote>
  291. </div>
  292. <div class="col-md-6 col-xs-12">
  293. <blockquote class="twitter-tweet" lang="en">
  294. <a href="https://twitter.com/drakpz/status/517008058841829376">
  295. <img class="twitter-profile" src="images/reviews/pg.jpeg" alt="">
  296. </a>
  297. <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>
  298. </blockquote>
  299. </div>
  300. </div>
  301. <div class="row">
  302. <div class="col-md-6 col-xs-12">
  303. <blockquote class="twitter-tweet" lang="en">
  304. <a href="https://twitter.com/jacoblindgren11/status/516975006501203968">
  305. <img class="twitter-profile" src="images/reviews/jacob.jpg" alt="">
  306. </a>
  307. <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>
  308. </p><a href="https://twitter.com/jacoblindgren11/status/516975006501203968">&mdash; Jacob Lindgren (@jacoblindgren11) </a>
  309. </blockquote>
  310. </div>
  311. <div class="col-md-6 col-xs-12">
  312. <blockquote class="twitter-tweet" lang="en">
  313. <a href="https://twitter.com/arvestad/status/519507976491499521">
  314. <img class="twitter-profile" src="images/reviews/lars.jpg" alt="">
  315. </a>
  316. <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>
  317. </blockquote>
  318. </div>
  319. </div>
  320. </div>
  321. </section>
  322. <section id="share">
  323. <div class="wrapper">
  324. <h2 class="page-title">Share the love</h2>
  325. <ul class="share-buttons">
  326. <li>
  327. <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>
  328. </a>
  329. </li>
  330. <li>
  331. <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>
  332. </li>
  333. <li>
  334. <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>
  335. </a>
  336. </li>
  337. <li>
  338. <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>
  339. </a>
  340. </li>
  341. </ul>
  342. </div>
  343. </section>
  344. <section id="contact">
  345. <div class="wrapper">
  346. <i class="icon-mail"></i>
  347. <h2 class="page-title">
  348. Any questions?
  349. </h2>
  350. <a href="#" data-uv-trigger class="btn-cta">contact us</a>
  351. </div>
  352. </section>
  353. <section id="tor">
  354. <div class="wrapper">
  355. <a href="https://torproject.com"><img src="images/tor.svg" alt=""></a><br/>
  356. <a href="https://jxm5d6emw5rknovg.onion/">https://jxm5d6emw5rknovg.onion/</a>
  357. </div>
  358. </section>
  359. <footer>
  360. <div class="wrapper">
  361. <div style="">
  362. <a href="bitcoin:164ybRMLbg1dhhWWiUkXtiNr7jUhMKdJqH" label="Bitcoin+Donation" style="word-wrap: break-word;">
  363. <img border="0" src=" /images/bitcoin.png" style="margin: 0 auto;;">
  364. </a>
  365. </div>
  366. <br/>
  367. <br/>
  368. <img src="/images/Logo-orange.png" alt="Founded in Holland">
  369. <p>Made with <i class="icon-heart"></i> by <a href="http://blog.dutchcoders.io/" title="Dutch Coders">Dutch Coders</a>
  370. </p>
  371. </div>
  372. </footer>
  373. <a href="https://github.com/you"><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>
  374. <script>
  375. (function() {
  376. var uv = document.createElement('script');
  377. uv.type = 'text/javascript';
  378. uv.async = true;
  379. uv.src = '//widget.uservoice.com/5rkATbLIm8ClJQeOirOhFg.js';
  380. var s = document.getElementsByTagName('script')[0];
  381. s.parentNode.insertBefore(uv, s)
  382. })()
  383. </script>
  384. <!--[if lt IE 7]>
  385. <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>
  386. <![endif]-->
  387. <script src="/scripts/main.js"></script>
  388. </body>
  389. </html>