Click here to Skip to main content
15,888,579 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: include html in html Pin
Robby4-Jan-04 6:46
Robby4-Jan-04 6:46 
GeneralRe: include html in html Pin
ZoogieZork4-Jan-04 11:40
ZoogieZork4-Jan-04 11:40 
GeneralRe: include html in html Pin
Vasudevan Deepak Kumar7-Jan-04 1:16
Vasudevan Deepak Kumar7-Jan-04 1:16 
GeneralJavascript maths error Pin
Jay22-Jan-04 13:33
Jay22-Jan-04 13:33 
GeneralRe: Javascript maths error Pin
Roger Wright2-Jan-04 14:11
professionalRoger Wright2-Jan-04 14:11 
GeneralSource Code for Dynamic Date and Time script function in asp.net Pin
Anonymous2-Jan-04 11:52
Anonymous2-Jan-04 11:52 
GeneralRe: Source Code for Dynamic Date and Time script function in asp.net Pin
Roger Wright2-Jan-04 12:36
professionalRoger Wright2-Jan-04 12:36 
GeneralRespond Urgently....Need Help!! Pin
Sensitive2-Jan-04 3:34
Sensitive2-Jan-04 3:34 
Hi!!
I am facing a problem while downloading file from a site. Infact the file with the code below is working fine on my local system but when i tries to download the file from remote server it generates an error and displays following text as a message box:

"Internet Explorer cannot download <file> from <servername>.

Internet Explorer was not able to open this Internet Site. The requested site is either unavailable or cannot be found."

The file i am trying to download is a self extracting .exe file. The path of a file is perfect coz when i put a small size file on the same location with the same name, download starts without any error. ONe thing, using win2003 server.

Please reply me and help me ASAP its really very urgent.

Regards,
Farhan Ahmed
farhanmanzoor@hotmail.com

----------------------------------- C O D E ------------------------------------

Response.ContentType = "application/octet-stream"
Response.AddHeader "Content-Disposition","attachment;filename=" &strFileName& ""
strFilePath = replace(request.ServerVariables("APPL_PHYSICAL_PATH")&strFilePath, "\","/")

Const adTypeBinary = 1
strFilePath = strFilePath

Set objStream = Server.CreateObject("ADODB.Stream")
objStream.Open
objStream.Type = adTypeBinary
objStream.LoadFromFile strFilePath
Response.BinaryWrite objStream.Read
objStream.Close

Set objStream = Nothing

--------------------------------------------------------------------------------
GeneralRe: Respond Urgently....Need Help!! Pin
perlmunger4-Jan-04 16:16
perlmunger4-Jan-04 16:16 
GeneralRe: Respond Urgently....Need Help!! Pin
Sensitive4-Jan-04 19:14
Sensitive4-Jan-04 19:14 
GeneralRe: Respond Urgently....Need Help!! Pin
perlmunger5-Jan-04 5:07
perlmunger5-Jan-04 5:07 
GeneralCreating Tables Pin
SatyaDY1-Jan-04 0:38
SatyaDY1-Jan-04 0:38 
GeneralRe: Creating Tables Pin
theJazzyBrain1-Jan-04 4:47
theJazzyBrain1-Jan-04 4:47 
GeneralRe: Creating Tables Pin
SatyaDY1-Jan-04 17:13
SatyaDY1-Jan-04 17:13 
GeneralRe: Creating Tables Pin
l a u r e n2-Jan-04 21:35
l a u r e n2-Jan-04 21:35 
GeneralUnknown Error Pin
SatyaDY1-Jan-04 0:36
SatyaDY1-Jan-04 0:36 
GeneralRe: Unknown Error Pin
l a u r e n2-Jan-04 14:28
l a u r e n2-Jan-04 14:28 
GeneralRe: Unknown Error Pin
Roger Wright2-Jan-04 14:47
professionalRoger Wright2-Jan-04 14:47 
GeneralOffice Web Components Pin
Miszou31-Dec-03 7:44
Miszou31-Dec-03 7:44 
GeneralNo one seems to know how... Pin
Robby31-Dec-03 3:39
Robby31-Dec-03 3:39 
GeneralRe: No one seems to know how... Pin
Roger Wright31-Dec-03 5:27
professionalRoger Wright31-Dec-03 5:27 
GeneralRe: No one seems to know how... Pin
Robby3-Jan-04 12:30
Robby3-Jan-04 12:30 
GeneralRe: No one seems to know how... Pin
Richard Deeming9-Jan-04 6:59
mveRichard Deeming9-Jan-04 6:59 
GeneralEvery request to local application creating a new session. Pin
ankithakur31-Dec-03 2:04
ankithakur31-Dec-03 2:04 
GeneralPHP Regex Question Pin
-- NA --31-Dec-03 0:54
-- NA --31-Dec-03 0:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.