title: How to post Stata program via Dropbox or private website?
body: <p>Here is a sample program <code>.do</code> file, <code>sampleprog.do</code>:</p>
  
  <pre><code>program sampleprog
  egen newVar = group (`1' `2')
  end
  </code></pre>
  
  <p>How can I post it on my website (or dropbox), so that other people could install it to their Stata like this? </p>
  
  <pre><code>net from http://www.mywebsite.com/sampleprog.do
  *** or may be like like this:
  ssc install ...
  </code></pre>
  
  <p>I read the documentation about <code>stata.toc</code>...but I did not quite get it. What files should I upload and should it be one folder or what?</p>
  
  <p>(PS: I definitely can simply email the <code>.do</code> file but this is not an option in my case.)</p>