Assuming your friend’s computer is set up to share that drive over the internet, you should be able to connect to it the same way you’d connect to any remote server, using it’s IP address. The details on setting that up and acting it out will vary depending on what OS you and your friend are using, as well as what your file transfer protocol of choice is.