Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. 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 Professional 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 March 22nd, 2007, 08:08 AM
SMM SMM is offline
Registered User
 
Join Date: Mar 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default To upload an Excel File to the Server using ASP

Hi,
I am trying to upload an excel file to a shared folder in the server. So that i can give full control to that shared folder which will not create an access problem..

Can anyone give a code snippet to do that in ASP?

Please help me ASAP


 
Old March 23rd, 2007, 02:09 AM
Authorized User
 
Join Date: Aug 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to bishnupokhrel Send a message via Yahoo to bishnupokhrel
Default

pls have a look on http://www.asp101.com/articles/jacob/scriptupload.asp .

Regards
Bishnu Pokharel
bishnu.pokharel@gmail.com
http://www.bishnupokharel.com.np/
 
Old March 23rd, 2007, 07:16 AM
SMM SMM is offline
Registered User
 
Join Date: Mar 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Bishnu,

thanx for the link..i downloaded the code.But when i browse a file and submit the form, it displays the code of the action page.

Could you please tell me why?

Regards
SMM


 
Old March 24th, 2007, 11:35 PM
Authorized User
 
Join Date: Aug 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to bishnupokhrel Send a message via Yahoo to bishnupokhrel
Default

Hi SMM,

Did you change the path to upload File.SaveToDisk "E:\UploadedFiles\", on line 37 on the uploadexmple.asp? change this to some path which exists on your system, like c:
its working well for me. Bt way, select "Save To: Disk". If your database is not configured , then it will not work with "Save to: Database".



Regards
Bishnu Pokharel
bishnu.pokharel@gmail.com
http://www.bishnupokharel.com.np/
 
Old March 26th, 2007, 03:49 AM
SMM SMM is offline
Registered User
 
Join Date: Mar 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi bishnu,

I changed the folder location as well as had to give access permission in IIS. Now its working fine :)

Thanks a lot!

Regards,
SmM






Similar Threads
Thread Thread Starter Forum Replies Last Post
upload excel file in php4.2.2 rapraj PHP How-To 0 April 13th, 2007 01:56 AM
hi have to upload excel file using jsp uttam.mca Pro JSP 3 July 14th, 2006 07:30 PM
Upload file to server from ASP script crmpicco Classic ASP Components 2 June 14th, 2006 01:25 AM
To upload an excel file to to sql server. Abins ASP.NET 1.0 and 1.1 Professional 2 February 22nd, 2006 01:21 AM
Help! DTS to upload an excel file mauro_mtl SQL Server 2000 0 May 28th, 2005 03:41 PM





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