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.
 
 
 

379 lines
18 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. include "includes/head.html"
  9. <body>
  10. <script>
  11. (function(i, s, o, g, r, a, m) {
  12. i['GoogleAnalyticsObject'] = r;
  13. i[r] = i[r] || function() {
  14. (i[r].q = i[r].q || []).push(arguments)
  15. }, i[r].l = 1 * new Date();
  16. a = s.createElement(o),
  17. m = s.getElementsByTagName(o)[0];
  18. a.async = 1;
  19. a.src = g;
  20. m.parentNode.insertBefore(a, m)
  21. })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
  22. ga('create', 'UA-40833733-1', 'transfer.sh');
  23. ga('send', 'pageview');
  24. </script>
  25. include "includes/navigation.html"
  26. <section id="home">
  27. <div class="wrapper">
  28. <h2 class="page-title">
  29. Easy file sharing from the command line</h2>
  30. <div class="row animated fadeInDown">
  31. <div id="from-terminal" class="box col-md-8 col-md-offset-2 col-xs-12">
  32. <div class="terminal-top">
  33. </div>
  34. <div id="terminal" class="terminal">
  35. <code>
  36. <span class="code-title"># Upload using cURL</span>
  37. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt https://transfer.sh/66nb8/hello.txt
  38. <br>
  39. <br>
  40. <span class="code-title"># Create an alias</span>
  41. <br>$ transfer hello.txt
  42. <br>##################################################### 100.0% https://transfer.sh/eibhM/hello.txt
  43. </code>
  44. </div>
  45. <div id="web">
  46. <code>
  47. <br>
  48. <span class="code-title"># Upload from web</span>
  49. <br>Drag your files here, or <a class="browse" href="#"> click to browse. <br/></a>
  50. </code>
  51. <input type="file" multiple="multiple" style='display: none;' />
  52. <ul class='queue'>
  53. <li>
  54. </li>
  55. </ul>
  56. <div class='all-files'>
  57. <br>
  58. <div>
  59. <span class="code-title"># Download all your files</span>
  60. <br/>
  61. <br/>
  62. <a class="download-zip btn-cta" href="#">zip</a> <a class="download-tar btn-cta" href="#">tar.gz</a>
  63. </div>
  64. </div>
  65. </div>
  66. </div>
  67. <div>
  68. <a href="#features" class="btn-cta btn-home">learn more</i> </a>
  69. </div>
  70. </div>
  71. </section>
  72. <section id="features">
  73. <div class="wrapper container">
  74. <div class="row animated fadeInDown ">
  75. <div class="col-md-3 col-xs-6">
  76. <i class="icon-terminal"></i>
  77. <h3>Made for use with shell</h3>
  78. </div>
  79. <div class="col-md-3 col-xs-6">
  80. <i class="icon-link"></i>
  81. <h3>Share files with a URL</h3>
  82. </div>
  83. <div class="col-md-3 col-xs-6">
  84. <i class="icon-database"></i>
  85. <h3>Upload up to 5 GB</h3>
  86. </div>
  87. <div class="col-md-3 col-xs-6">
  88. <i class="icon-clock"></i>
  89. <h3>Files stored for 14 days</h3>
  90. </div>
  91. </div>
  92. <div class="row animated fadeInDown">
  93. <div class="col-md-offset-3 col-md-3 col-xs-6">
  94. <i class="icon-tag"></i>
  95. <h3>For free</h3>
  96. </div>
  97. <div class="col-md-3 col-xs-6">
  98. <i class="icon-lock"></i>
  99. <h3>Encrypt your files</h3>
  100. </div>
  101. </div>
  102. </div>
  103. </section>
  104. <section id="samples">
  105. <div class="wrapper">
  106. <h2 class="page-title">
  107. Sample use cases
  108. </h2>
  109. <div class="row">
  110. <div class="col-md-6 ">
  111. <h3>How to upload</h3>
  112. <div class="terminal-top">
  113. </div>
  114. <div class="terminal">
  115. <code>
  116. <span class="code-title"># Uploading is easy using curl</span>
  117. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
  118. <br>
  119. <br>
  120. <span class="code-title"># Download the file</span>
  121. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
  122. </code>
  123. </div>
  124. </div>
  125. <div class="col-md-6 ">
  126. <h3>Create an alias and add it to .bashrc or .zshrc</h3>
  127. <div class="terminal-top">
  128. </div>
  129. <div class="terminal">
  130. <code>
  131. <span class="code-title"># Add this to .bashrc or its equivalent</span>
  132. <br/>transfer() {
  133. <br># write to output to tmpfile because of progress bar
  134. <br>tmpfile=$( mktemp -t transferXXX ); basefile=$(basename "$1" | sed -e 's/[^a-zA-Z0-9._-]/-/g')
  135. <br/>curl --progress-bar --upload-file "$1" "https://transfer.sh/$basefile" >> $tmpfile
  136. <br/>cat $tmpfile; rm -f $tmpfile;
  137. <br/>}
  138. <br/>
  139. <br/>alias transfer=transfer
  140. <br/>
  141. <br/>
  142. <span class="code-title"># Now you can use transfer command</span>
  143. <br>$ transfer hello.txt
  144. </code>
  145. </div>
  146. </div>
  147. </div>
  148. <a class="btn-cta" data-target="#coll" data-toggle="collapse">More examples</a>
  149. <div class="collapse " id="coll">
  150. <div class="row">
  151. <div class="col-md-6 ">
  152. <h3>Upload multiple files at once</h3>
  153. <div class="terminal-top">
  154. </div>
  155. <div class="terminal">
  156. <code>
  157. <br>$ curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt https://transfer.sh/
  158. <br>
  159. <br>
  160. <span class="code-title"># Combining downloads as zip or tar archive</span>
  161. <br>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).tar.gz
  162. <br/>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).zip
  163. </code>
  164. </div>
  165. </div>
  166. <div class="col-md-6 ">
  167. <h3>Encrypt your files before the transfer</h3>
  168. <div class="terminal-top">
  169. </div>
  170. <div class="terminal">
  171. <code>
  172. <span class="code-title"># Encrypt files with password using gpg</span>
  173. <br>$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt
  174. <br>
  175. <br>
  176. <span class="code-title"># Encrypt and upload</span>
  177. <br>$ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt
  178. </code>
  179. </div>
  180. </div>
  181. </div>
  182. <div class="row">
  183. <div class="col-md-6">
  184. <h3>Scan for malware</h3>
  185. <div class="terminal-top">
  186. </div>
  187. <div class="terminal">
  188. <code>
  189. <span class="code-title"># Scan for malware or viruses using Clamav</span>
  190. <br>$ wget http://www.eicar.org/download/eicar.com
  191. <br>$ curl -X PUT --upload-file ./eicar.com https://transfer.sh/eicar.com/scan
  192. <br>
  193. <br>
  194. <span class="code-title"># Upload malware to VirusTotal, get a permalink in return</span>
  195. <br>$ curl -X PUT --upload-file nhgbhhj https://transfer.sh/test.txt/virustotal
  196. <br>
  197. </code>
  198. </div>
  199. </div>
  200. <div class="col-md-6">
  201. <h3>Backup mysql database, encrypt and transfer</h3>
  202. <div class="terminal-top">
  203. </div>
  204. <div class="terminal">
  205. <code>
  206. <span class="code-title"># Backup, encrypt and transfer</span>
  207. <br/>$ mysqldump --all-databases|gzip|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt</code>
  208. </div>
  209. </div>
  210. </div>
  211. <div class="row">
  212. <div class="col-md-6">
  213. <h3>Send email with transfer link (uses alias)</h3>
  214. <div class="terminal-top">
  215. </div>
  216. <div class="terminal">
  217. <code>
  218. <span class="code-title"># Transfer and send email with link (uses alias)</span>
  219. <br/>$ transfer /tmp/hello.txt | mail -s "Hello World" user@yourmaildomain.com
  220. </code>
  221. </div>
  222. </div>
  223. <div class="col-md-6">
  224. <h3>Send us your awesome example</h3>
  225. <div class="terminal-top">
  226. </div>
  227. <div class="terminal">
  228. <code>
  229. <span class="code-title"># Your awesome sample will be put here</span>
  230. </code>
  231. </div>
  232. </div>
  233. </div>
  234. </div>
  235. </div>
  236. </section>
  237. <section id="share">
  238. <div class="wrapper">
  239. <h2 class="page-title">Follow on GitHub</h2>
  240. <br>
  241. <br>
  242. <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>
  243. <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>
  244. </div>
  245. </section>
  246. <section id="reviews">
  247. <div class="wrapper">
  248. <div class="row">
  249. <div class="col-md-8 col-md-offset-2 col-xs-12">
  250. <blockquote class="twitter-tweet tweet-xl" lang="en">
  251. <a href="https://twitter.com/FloifyDave/status/517383101425516544">
  252. <img class="twitter-profile" src="images/reviews/dave.jpg" alt="">
  253. </a>
  254. <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>
  255. <a href="https://twitter.com/FloifyDave/status/517383101425516544">
  256. &mdash; Dave Sims (@FloifyDave)</a>
  257. </blockquote>
  258. </div>
  259. </div>
  260. <div class="row">
  261. <div class="col-md-6 col-xs-12">
  262. <blockquote class="twitter-tweet" lang="en">
  263. <a href="https://twitter.com/kareemk/status/517029789191118849">
  264. <img class="twitter-profile" src="images/reviews/kareem.jpg" alt="">
  265. </a>
  266. <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>
  267. </blockquote>
  268. </div>
  269. <div class="col-md-6 col-xs-12">
  270. <blockquote class="twitter-tweet" lang="en">
  271. <a href="https://twitter.com/drakpz/status/517008058841829376">
  272. <img class="twitter-profile" src="images/reviews/pg.jpeg" alt="">
  273. </a>
  274. <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>
  275. </blockquote>
  276. </div>
  277. </div>
  278. <div class="row">
  279. <div class="col-md-6 col-xs-12">
  280. <blockquote class="twitter-tweet" lang="en">
  281. <a href="https://twitter.com/jacoblindgren11/status/516975006501203968">
  282. <img class="twitter-profile" src="images/reviews/jacob.jpg" alt="">
  283. </a>
  284. <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>
  285. </p><a href="https://twitter.com/jacoblindgren11/status/516975006501203968">&mdash; Jacob Lindgren (@jacoblindgren11) </a>
  286. </blockquote>
  287. </div>
  288. <div class="col-md-6 col-xs-12">
  289. <blockquote class="twitter-tweet" lang="en">
  290. <a href="https://twitter.com/arvestad/status/519507976491499521">
  291. <img class="twitter-profile" src="images/reviews/lars.jpg" alt="">
  292. </a>
  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 class="page-title">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 class="page-title">
  325. Any questions?
  326. </h2>
  327. <a href="#" data-uv-trigger class="btn-cta">contact us</a>
  328. </div>
  329. </section>
  330. <section id="tor">
  331. <div class="wrapper">
  332. <a href="https://torproject.com"><img src="images/tor.svg" alt=""></a><br/>
  333. <a href="https://jxm5d6emw5rknovg.onion/">https://jxm5d6emw5rknovg.onion/</a>
  334. </div>
  335. </section>
  336. include "includes/footer.html"
  337. include "includes/js.html"
  338. </body>
  339. </html>