For Programmers: Free Programming Magazines  


Home > Archive > PERL Programming > October 2005 > file transfer - desparate desparate ?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author file transfer - desparate desparate ?
tbv

2005-10-10, 3:42 pm

I am using this code to have the user download a file I selected to his PC, generally a Windows PC:

print "Content-type: application/octest-stream\n";
print "Location: $DownloadFile\n\n";

I have tried using the content-disposition and changing the content type to everything I could think of -- I do not want the use to be able to open the file, just to download it! How can I do this?

Major help and thanks!
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com