473,666 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Downloadable files list

HI,
I'm trying to create an aspx page that lists all files
that an user can download from a site simply clicking on
the link.
There is any example on the web?
Thanks,
Fabrizio
Nov 15 '05 #1
3 1791

Hi Fabrizio,

Thanks for posting in this group.
Can you explain this more clear?
You can use System.Net.WebC lient to download files from a web site.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| Content-Class: urn:content-classes:message
| From: "Fabrizio" <fm******@gesti onescorte.it>
| Sender: "Fabrizio" <fm******@gesti onescorte.it>
| Subject: Downloadable files list
| Date: Wed, 12 Nov 2003 22:42:33 -0800
| Lines: 7
| Message-ID: <08************ *************** *@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Thread-Index: AcOpsVED8rc6JfY +TOynbaFUXeI6UQ ==
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
| Path: cpmsftngxa06.ph x.gbl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1989 16
| NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
| X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
|
| HI,
| I'm trying to create an aspx page that lists all files
| that an user can download from a site simply clicking on
| the link.
| There is any example on the web?
| Thanks,
| Fabrizio
|

Nov 15 '05 #2
Hi Jeffrey,
thanks for replying.
What i'm trying to do is to redirect an internet user on
a page where he can have a list of files available to
open or download on that site. It's like a dir or LS of
the directory.
Thanks,
Fabrizio
-----Original Message-----

Hi Fabrizio,

Thanks for posting in this group.
Can you explain this more clear?
You can use System.Net.WebC lient to download files from a web site.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "Fabrizio" <fm******@gesti onescorte.it>
| Sender: "Fabrizio" <fm******@gesti onescorte.it>
| Subject: Downloadable files list
| Date: Wed, 12 Nov 2003 22:42:33 -0800
| Lines: 7
| Message-ID: <08************ *************** *@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Thread-Index: AcOpsVED8rc6JfY +TOynbaFUXeI6UQ ==
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300| Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
| Path: cpmsftngxa06.ph x.gbl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1989 16| NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
| X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
|
| HI,
| I'm trying to create an aspx page that lists all files
| that an user can download from a site simply clicking on| the link.
| There is any example on the web?
| Thanks,
| Fabrizio
|

.

Nov 15 '05 #3

Hi Fabrizio,

If you want to list all the hyperlinks(<a> flag) on the web site, I think
you can use html DOM model to retrive this.
Here is a sample of getting all the <a> flags through C#:
http://msdn.microsoft.com/library/de...us/dv_vstechar
t/html/vsgrfwalkthroug haccessingdhtml domfromc.asp

If you want to download all the avaiable files of site's root directory,
this may can not get done. Many sites will refuse this request.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| Content-Class: urn:content-classes:message
| From: "Fabrizio" <fm******@gesti onescorte.it>
| Sender: "Fabrizio" <fm******@gesti onescorte.it>
| References: <08************ *************** *@phx.gbl>
<8y************ **@cpmsftngxa06 .phx.gbl>
| Subject: RE: Downloadable files list
| Date: Wed, 12 Nov 2003 23:46:51 -0800
| Lines: 59
| Message-ID: <0a************ *************** *@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcOpukyeNiv6n/KITuCX12WLzfE/Qg==
| Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
| Path: cpmsftngxa06.ph x.gbl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1989 27
| NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
| X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
|
| Hi Jeffrey,
| thanks for replying.
| What i'm trying to do is to redirect an internet user on
| a page where he can have a list of files available to
| open or download on that site. It's like a dir or LS of
| the directory.
| Thanks,
| Fabrizio
| >-----Original Message-----
| >
| >Hi Fabrizio,
| >
| >Thanks for posting in this group.
| >Can you explain this more clear?
| >You can use System.Net.WebC lient to download files from
| a web site.
| >
| >Best regards,
| >Jeffrey Tan
| >Microsoft Online Partner Support
| >Get Secure! - www.microsoft.com/security
| >This posting is provided "as is" with no warranties and
| confers no rights.
| >
| >--------------------
| >| Content-Class: urn:content-classes:message
| >| From: "Fabrizio" <fm******@gesti onescorte.it>
| >| Sender: "Fabrizio" <fm******@gesti onescorte.it>
| >| Subject: Downloadable files list
| >| Date: Wed, 12 Nov 2003 22:42:33 -0800
| >| Lines: 7
| >| Message-ID: <08************ *************** *@phx.gbl>
| >| MIME-Version: 1.0
| >| Content-Type: text/plain;
| >| charset="iso-8859-1"
| >| Content-Transfer-Encoding: 7bit
| >| X-Newsreader: Microsoft CDO for Windows 2000
| >| Thread-Index: AcOpsVED8rc6JfY +TOynbaFUXeI6UQ ==
| >| X-MimeOLE: Produced By Microsoft MimeOLE
| V5.50.4910.0300
| >| Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
| >| Path: cpmsftngxa06.ph x.gbl
| >| Xref: cpmsftngxa06.ph x.gbl
| microsoft.publi c.dotnet.langua ges.csharp:1989 16
| >| NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
| >| X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
| >|
| >| HI,
| >| I'm trying to create an aspx page that lists all files
| >| that an user can download from a site simply clicking
| on
| >| the link.
| >| There is any example on the web?
| >| Thanks,
| >| Fabrizio
| >|
| >
| >.
| >
|

Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2063
by: Boniface Frederic | last post by:
Hello, I want to set some files downloadable only by members with login and password. I use session to protect my .html and .php files, but I would like to know how to protect .zip files. The .zip files are in a folder protected with a .htaccess file with the members data as password file. When a member is already connected and click on a download link, a connect
3
2207
by: JJ | last post by:
Hi, I am writing a cart in ASP selling downloadable files. The files are stored on remote locations i.e. http://www.thisfilestore.com/file1.zip And have different extensions, i.e. they are not all zip files. I would like to write a script which cann be called which will allow the download of the file, without giving away the url. Any Ideas/examples welcome!
3
3432
by: Stan Brown | last post by:
The W3C offers a CSS validator for download <http://jigsaw.w3.org/css-validator/DOWNLOAD.html> but the build seems to require a bunch of UNIX tools. Does anyone know of a downloadable CSS2 validator for DOS or Windows users? (I searched back to 1988 in Google but couldn't find anything.) -- Stan Brown, Oak Road Systems, Cortland County, New York, USA
9
2210
by: Xah Lee | last post by:
is the Microsoft javascript doc downloadable? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/js56jsoriJScript.asp or, is there some other downloadable complete javascript ref for offline reading? Xah xah@xahlee.org ∑ http://xahlee.org/
2
404
by: Charles A. Lackman | last post by:
Hello, I have a web site that plays mp3's and wav files, I am using a media player on the site which does not allow for downloading the media, but if you go to properties within the player and copy the URL into Windows media Player you can copy it to your hard drive. How do I prevent this from happening? I have set the mp3's and wav files to read only. Any suggestions would be greatly appreciated. Thanks,
1
288
by: Hongbo | last post by:
Hi, We have a web site which needs user to login. After login, there are some files available for download on some pages. A typical link of such file is like this one: https://www.ourdomain.com/docs/contracts/c_02102006.pdf I noticed that any one could get this file if the person knows this link regardless if this person has logged in or not. Is there a way to prevent people who do not login to reach such downloadable files? Thank...
1
1211
by: #5 | last post by:
// thats the sample code that i get in the .chm manual. Similar problem with the one with thousands // of html files . thats it , its not translating '<' to '<' etc <html> <head> <title>PHP Test</title> </head> <body> <?php echo '<p>Hello World</p>'; ?> </body>
14
3635
by: lalit | last post by:
Hi there, Can some plz suggest me a way to show .ppt files on my website that can't be copied or saved by user using asp.net. any idea !!!! thankx
4
1559
by: Jim Aikin | last post by:
I'd like to learn JavaScript while sitting in my easy chair with my laptop on my lap. Option 1: Buy a wireless router so I can access the plethora of online- only tutorials from anywhere in the house. Option 2: Buy a book and try to figure out how to read a book with one hand while using the laptop with the other. Option 3: Find a good downloadable tutorial (either PDF or a bundle of
0
8444
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8869
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8551
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6198
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5664
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4368
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2771
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1775
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.