Update client.pl

Updated to allow the downloading of a file.