Download file when send request

Hi guys,
Now I have an interface which use to download file. Is there any way to download file when I send the request but without click [Send and download] button ? For example, can I do this with writing some code in the ‘Test handling’ area or other programming way ?