Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Professional
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers 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 developers’ questions, 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 March 22nd, 2007, 08:08 AM
SMM SMM is offline
Registered User
 
Join Date: Mar 2007
Location: , , .
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


Reply With Quote
  #2 (permalink)  
Old March 23rd, 2007, 02:09 AM
Authorized User
 
Join Date: Aug 2004
Location: Kathmandu, , Nepal.
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/
Reply With Quote
  #3 (permalink)  
Old March 23rd, 2007, 07:16 AM
SMM SMM is offline
Registered User
 
Join Date: Mar 2007
Location: , , .
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


Reply With Quote
  #4 (permalink)  
Old March 24th, 2007, 11:35 PM
Authorized User
 
Join Date: Aug 2004
Location: Kathmandu, , Nepal.
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/
Reply With Quote
  #5 (permalink)  
Old March 26th, 2007, 03:49 AM
SMM SMM is offline
Registered User
 
Join Date: Mar 2007
Location: , , .
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

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 06:28 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.