This page has instructions for getting the files you need to load your Y-DNA or Mitochondrial DNA into the mitoYDNA data base from AncestryDNA.
For both DNA types, login to your Ancestry account. Click on the "DNA" tab. Click on the "Y-DNA and mtDNA Tests" link.
Click on the "Download Results" link..