Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File security access credentials
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01047004
Message ID:
01047076
Vues:
12
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...>)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform