|
|
| CyberSite.net Knowledge Base | ||||||||||
| How do I add impersonation for ASPUpload? |
![]() |
|||||||||
|
We provide an ASP component installed on all the web servers that allows uploading files using classic asp. This component is called Persits AspUpload. If you want to upload files without giving public write, you can impersonate with your ftp account. The following below is an example that will display 3 fields to browse and select files to upload using your ftp account. This is more secure as public now does not have write access to your specific folder where your files will be uploaded at.
Create a file called uploads.asp and save the following text below in it. <BODY BGCOLOR="#FFFFFF"> <FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="UploadScript1.asp"> <INPUT TYPE=FILE SIZE=60 NAME="FILE2"><BR> </BODY> Please note that domain is the data center your website is located at. It will either be SAT, DFW, or ORD. <% Set Upload = Server.CreateObject("Persits.Upload.1") Count = Upload.Save("\\location\where\I\want\my\files\uploaded\at") %> </BODY> For more information, please visit http://www.aspupload.com/ for more examples and the manual. |
||||||||||
| HOME | MARKETING | CREATIVE | DEVELOPMENT | MANAGEMENT | PORTFOLIO | PRODUCTS | HOSTING | CLIENT SERVICES | ABOUT CSN | SUPPORT | KNOWLEDGE | LEGAL & PRIVACY | SITE MAP |
| Copyright 2011 CyberSite.net, a subsidiary of Group One Communications, Inc., All rights reserved worldwide. Please review our Terms, Conditions, Policies, Procedures, Terms of Use and Service. |