|
|
 |
| 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 tens of thousands of computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other programmers’ questions, win occasional prizes given to our best members, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
|
 |
|
|
 |

November 14th, 2003, 12:54 AM
|
|
Authorized User
|
|
Join Date: Nov 2003
Location: Phnom Penh, , Cambodia.
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
Regards,
Sokha
__________________
Mr. Sokha Eap
Webmaster
UNDP Cambodia
|

November 14th, 2003, 10:31 AM
|
 |
Friend of Wrox
Points: 16,368, Level: 55 |
|
|
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,394
Thanks: 0
Thanked 2 Times in 2 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.
Peter
------------------------------------------------------
Work smarter, not harder.
|

November 14th, 2003, 11:44 AM
|
|
Friend of Wrox
|
|
Join Date: Nov 2003
Location: Johannesburg, , South Africa.
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi
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.
Regards
M
Such is Life!
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |