p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 14th, 2003, 12:54 AM
Authorized User
Points: 171, Level: 3
Points: 171, Level: 3 Points: 171, Level: 3 Points: 171, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2003
Location: Phnom Penh, , Cambodia.
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?

Regards,
Sokha

__________________
Mr. Sokha Eap
Webmaster
UNDP Cambodia
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old November 14th, 2003, 10:31 AM
planoie's Avatar
Friend of Wrox
Points: 16,368, Level: 55
Points: 16,368, Level: 55 Points: 16,368, Level: 55 Points: 16,368, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,394
Thanks: 0
Thanked 2 Times in 2 Posts
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #3 (permalink)  
Old November 14th, 2003, 11:44 AM
Friend of Wrox
Points: 456, Level: 7
Points: 456, Level: 7 Points: 456, Level: 7 Points: 456, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2003
Location: Johannesburg, , South Africa.
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to acdsky
Default

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

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 07:45 AM
how to copy filename to text file..... kiwibey ASP Forms 2 November 26th, 2004 04:20 AM
Macro to copy data from one file to a 2nd file chadpodsednik Excel VBA 1 October 29th, 2004 11:40 AM
JProgressBar while file copy rpalanivelu J2EE 0 November 3rd, 2003 08:40 AM



All times are GMT -4. The time now is 07:45 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© 2010 Wiley Publishing, Inc