in reply to client socket

Do you have to write a custom socket app? Can you run code on the windows side to just pull the file via http (LWP::Simple), ftp (Net::FTP), or ssh (Net::SCP)? Using one of those methods could just be as simple as a couple/few lines.