I am looking for a way to download files from different pages and get them stored under a particular folder in a local machine. I am using Ruby 1.9.3
See the field below:
EDIT
here is the html content:
<input type="hidden" name="supplier.orgProfiles(1152444).location.locationPurposes().extendedAttributes(Upload_RFI_Form).value.filename" value="Screenshot.docx">
<a style="display:inline; position:relative;" href="
/aems/file/filegetrevision.do?fileEntityId=8120070&cs=LU31NT9us5P9Pvkb1BrtdwaCrEraskiCJcY6E2ucP5s.xyz">
Screenshot.docx
</a>
One Possiblity I just tried: with the html content if add say https://xyz.test.com
and construct the URL like as below
and place that URL on to the browser and hit Enter
giving me a chance to download the file as screenshot mentioned.
Now can it be done using Ruby via script?