General information
Category:
Windows API functions
Environment versions
Network:
Windows 2003 Server
Getting the ZIP file back isn't the problem... Its when I UNZIP the file on the local file server that it appears to have the credentials from the other server and won't allow non-admin users to open/access... Its like the ZIP file stores the rights of the files and when unzipping, tries to keep those same rights/restrictions on the new machine.
>Hi Don,
>
>I apologize for not answering directly to your question.
>
>Why don't you shoot ZIP file back to a client through HTTP by setting Content-Type and Content-Disposition headers?
>
>- client requests data by clicking on a link
>- your server prepares temp zip file
>- then reads it into a string variable
>- sends back this variable as a new page
>
>An example of ASP code:
>Response.AddHeader "ContentType", "application/zip"
>Response.AddHeader "Content-Disposition", "attachment; filename=somename.zip"
>Response.Write(<...file-to-string...>)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only