p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Classic ASP Professional (http://p2p.wrox.com/forumdisplay.php?f=63)
-   -   To upload an Excel File to the Server using ASP (http://p2p.wrox.com/showthread.php?t=55705)

SMM March 22nd, 2007 08:08 AM

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



bishnupokhrel March 23rd, 2007 02:09 AM

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/

SMM March 23rd, 2007 07:16 AM

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



bishnupokhrel March 24th, 2007 11:35 PM

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/

SMM March 26th, 2007 03:49 AM

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



All times are GMT -4. The time now is 09:44 PM.

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