in reply to downloading a file on a page with javascript
Where did you find the URL? If I point my mouse on the file and save the link, I get
https://storage.googleapis.com/google-code-archive-downloads/v2/code.g +oogle.com/dotnetperls-controls/enable1.txt
Using this URL instead of the one you used also stores a list of words to the output file, which I guess is the output you had expected.
Getting this URL from the Archive page without JavaScript is hard. Search the Monastery for related questions.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom