B
Burak Gunay
Hello,
I am using the code below to enable a user save a dbf (foxpro) file
that resides ona web server to their own pc.
Response.ContentType = "application/octet-stream"
Response.AddHeader("Content-Disposition", "attachment; filename=" &
fileName)
Response.AddHeader("Content-Length", fileLength)
Response.WriteFile(file)
Response.Flush()
I have specified on my pc that files with the dbf ending should be
opened with foxpro and hence all dbf files have the fox icon on them. I
am using a very old version of foxpro (2.6)
When I am running the code from my own server, the Save File As
dialogue gives two file types to save the file as: "foxpro" and "all
files". Foxpro is the default and the file gets saved fine.
But when I run the code from the web server, the Save File As dialogue
shows only "html" and "all files" as file types and the file does not
get saved right.
How can I fix this?
Thanks,
Burak
I am using the code below to enable a user save a dbf (foxpro) file
that resides ona web server to their own pc.
Response.ContentType = "application/octet-stream"
Response.AddHeader("Content-Disposition", "attachment; filename=" &
fileName)
Response.AddHeader("Content-Length", fileLength)
Response.WriteFile(file)
Response.Flush()
I have specified on my pc that files with the dbf ending should be
opened with foxpro and hence all dbf files have the fox icon on them. I
am using a very old version of foxpro (2.6)
When I am running the code from my own server, the Save File As
dialogue gives two file types to save the file as: "foxpro" and "all
files". Foxpro is the default and the file gets saved fine.
But when I run the code from the web server, the Save File As dialogue
shows only "html" and "all files" as file types and the file does not
get saved right.
How can I fix this?
Thanks,
Burak