Wrox Programmer Forums
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 14th, 2003, 12:54 AM
Authorized User
Join Date: Nov 2003
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to eapsokha
Default How to copy file?

Dear Sir/Madam,

I want user to be able to copy file from client to server based on ASP code. How can I do that?


Mr. Sokha Eap
UNDP Cambodia
Old November 14th, 2003, 10:31 AM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

There is no "copy" from a client to the server. You need to look into uploading. HTML provides <input type="file"> for this purpose. On the ASP side, you'll need some third party object to be able to handle the file data in the posted form.

This can be a complex issue so I'd recommend doing some searching for articles about uploading file in ASP.

Work smarter, not harder.
Old November 14th, 2003, 11:44 AM
Friend of Wrox
Join Date: Nov 2003
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to acdsky


I woudl sugest looking at something like KIX script editor to copy files from client to server. It is very easy to do the KIX script and you could call the initial file from a button or link depending on your application. KIX also works well to modify profile related data e.g %username% stuff where batch files normally cause problems with spaces ect.


Such is Life!

Similar Threads
Thread Thread Starter Forum Replies Last Post
How copy Any file on LAN Rahul Gupta Pro VB 6 1 March 21st, 2006 09:43 AM
Copy one sheet to another file shamigc Excel VBA 2 April 13th, 2005 06:45 AM
Macro to copy data from one file to a 2nd file chadpodsednik Excel VBA 1 October 29th, 2004 10:40 AM
JProgressBar while file copy rpalanivelu J2EE 0 November 3rd, 2003 08:40 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.