Click here to Skip to main content
15,912,400 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In our intranet page there are a lot of files. Each day around 100 new files will be added to this site in pdf format. Each file has "docs reference no", "transmittal no" and …
Now I have to search each "doc no" and after finding that, I can download so it takes a lot of time.
I have the list of files that daily will be added to this site ("doc no", "transmittal no")
Is there any way to batch download these files from intranet.i am just user of site.
Thanks in advanced.
Posted

1 solution

Batch downloading is simple, but peeking into PDF and looking for some data is not, you will need to download a file anyway. You can use my fully-fledged HTTP downloaded oriented to batch mode, well tested: how to download a file from internet[^].

It support partially downloaded files (of any type), so you can continue downloading if there was a disruption.
I did it for myself and batch downloading was my main priority.

A single-file batch command will look like this:

HttpDownloader URL [LocalFileName]


—SA
 
Share this answer
 
Comments
masoud_sedighy 4-Mar-11 11:22am    
Thanks
I am new to asp.net…so I do not how I have to use the code and where I have to paste that? How I have to execute that?
Just I know that I have some Doc NO (file names):
DW-001
DW-002
DW-003
And I like to download these files by batch from internet site that I am his user.
Best regards.
Sergey Alexandrovich Kryukov 4-Mar-11 16:36pm    
This is a simple console application. Create a new console application, it will give you the file with "main". Remove all from the project except "Program.cs" and Properties/AssemblyInfo.cs. Replace all content of "Program.cs" with my code, compile. That's it.
--SA
Sergey Alexandrovich Kryukov 4-Mar-11 16:40pm    
Again, this is a console application, good to use in some some batch files (or manually), has nothing to do with ASP.NET, but you can use the code anywhere, which will require understanding of #C and programming of course.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900