Question: how to transfer photos from iphone to an external drive?
Answer: Connect the external hard drive to your computer. ... 
When a prompt appears on your iPhone asking you for permission, click "Allow".
On your PC, open the "Photos" app and click "Import" > "From a USB device" to let Photos find the items on your iPhone.