NEW LISTINGS  HOT LISTINGS  TOP RATED  EDITOR PICK  ADD A LISTING  UPDATE A LISTING  GET RATED  UPGRADE A LISTING
  HOME     MY ACCOUNT     POWER SEARCH     REGISTER     MEMBER LIST     SUGGEST CATEGORY  

Average Visitor Rating: 0.00 (out of 5)
Number of ratings: 0 Votes

Visitor Rating

File Uploading using pure ASP
2773 File Uploading using pure ASP http://www.stardeveloper.com/articles/042501-1.shtml This article is number three in a series of articles I wrote about uploading and displaying binary data with ASP. The first article was about Uploading binary data to the database, second was on Displaying binary data from the database and the third one ( this one ) is going to be on 'Uploading files to the server hard disk using pure ASP'. ASP > Tips and Tutorials > File Manipulation Oct 10, 2006

Write a Review   Add to My Favorite   Refer it to Friend   Report Broken Link  

Bookmark File Uploading using pure ASP:


Other links at ASP > Tips and Tutorials > File Manipulation
The previous article was about uploading files using VBA and IE. But what to do if you have only VBS (in WSH, IE or ASP)? VBS does not have functions which can work with binary data so you cannot read contents of a file from disk.
But you can use several objects which lets you work with binary data (one of them is also on this site, ScriptUtilities). ADODB, which is included in a free microsoft data access sofware (MDAC), enables the work with binary data also.
You can use ScriptUtils.ASPForm to accept uploaded files in ASP. ScriptUtils.ASPForm contains hi-performance, low resources consumption algorithm which can accept up to 2GB of data.
Category:

If you want to copy some foldes to another folder, first create a File System Object. CopyFolder method will help you to copy folder to another folder.
Category:

Why should you let visitors upload pictures onto your Web site?

Well lets take a couple of examples. People renting their holiday homes might like to display a picture of the property on a Web site. News sites might like to allow people to send them pictures of events in their area. Ideally we would like the visitor to be able to upload these pictures themselves using their standard Web browser.

Unfortunately images come in thousands of different formats, shapes, colors and sizes; almost none of which will mesh in with your beautifully designed site. This article is about how we can best solve this problem. To do this we will have to search down into the depths of HTML and ASP.

Digging down, the first gem we find is HTML upload. This is based around a standard, but vastly underused, HTML form element. When you put it into a form on a Web page it allows you to choose a file. When you submit the form, the file is sent to the Web server. What could be more perfect?

The second gem we find is the vast range of Active Server Page Extensions that exist on the market. These ActiveX controls add extra functions to the standard Active Server Page repertoire and can be accessed from simple scripting languages such as VBScript. The ASP Extension we will use here is the ImageGoo (http://www.websupergoo.com) Web graphics toolkit as it incorporates everything we need in one package.
Category:

This tutorial is aimed to show you how it is possible to retrieve a remote file via ASP and FTP without using a 3rd-party component. Windows plateform usually come with FTP.exe which is located in folder : C:WINNTsystem32. This utility can be drive from dos command line in order to connect to a FTP server,browse a FTP Directory, download and put file in the FTP site.
Category:

Following example displays all sub folders in current folder. We will use SubFolders property of FileSystem Object for this source code. First we will find our current path using System.MapPath.
Category:




Main Category
199
2044
829
286
175
1801
1439
913
1177
7568
70
917
59
2238
175

Join Mailing List
Joining mailing list will entitle you to receive occasional emails informing you of news and updates to the site and any special offers that may be of interest to you.



Top 10
Directory Statistics

Links: 19869
Categories: 1275
Registered Users: 783
Mailing List Subscribers: 2049
Unique Outgoing Hits: 233813

Pagerank Statistics
PR 10
1 site(s)
PR 9
11 site(s)
PR 8
49 site(s)
PR 7
207 site(s)
PR 6
656 site(s)
PR 5
1689 site(s)

PHP News