subfolder/myfile.pdf is correct.

But you will not see this working from a preview or locally in IE if you have Adobe Reader as your PDF handler due to local zone security restrictions.
Once you upload to your host everything it will be fine.

(NOTE: This local viewing restriction for inline PDF's is not an issue when using alternative PDF readers installed on your PC, FOXIT for example)