Download Manager Class C#/VB.NET - 2nd POST

Geschlossen Veröffentlicht Mar 9, 2011 Bezahlt bei Lieferung
Geschlossen Bezahlt bei Lieferung

Download Manager/Class Object

!! PLEASE NOTE THIS IS A SECOND POSTING AS I HAVE BEEN LEFT HIGH AND DRY BY FREELANCER:

"THENAPSTER" !!

Single to Multi-File Download Manager/Object/Class.

Written in C# or VB .NET

.Net Framework 3.5

Functionality is as follows:

Class will be instantiated. And will be able to support from a single download, to multiple concurrent downloads.

Manager

---------------------

Properties:

DownloadPath Path to where downloads get stored/saved

MaxDownloads Maximum Concurrent Downloads

ActiveDownloads List of DownloadObject Class

CompletedDownloads List of DownloadObject Class

WaitingDownloads List of DownloadObject class

Events:

Download_Started Pass DownloadObject Class of item to which started

Download_Completed Pass DownloadObject Class of item that completed

Functions:

Add_Downloal (url of Download) return GUID ID of DownloadObject created

Cancel_Download (GUIDID as string) return boolean (true if cancelled, false if not waiting or active)

DownloadObjectClass

----------------------

Properties:

ID [login to view URL]

Url Url of file

SaveName Download Path + filename

StartTime DateTime

EndTime DateTime

Errored Boolean - if Download Errored

Error [login to view URL]

Cancelled Boolean - if Download was user Cancelled

Length Length of File

Bytes Current Byte count downloaded

TimeToCompletion Timespan - Computed time left to complete

Success Boolean - true if completed successfully/false if cancelled or failed

Tail Boolean - Last 10% retrieved

When a download begins, you must first execute a HEAD request to get the filesize, and then proceed to create the file on disk. (SetLength) Then two downloads start. 1. This is key, the last 10% of the file must be retrieved, and 2. From the beginning to the end-10%. The TAIL (end) download will complete much faster of course than part 2.

hey must be run concurrently. When the TAIL has been retrieved you update the DownloadObjectClass to true.

This must work this way, if NO LENGTH is returned in the HEAD REQUEST, you must start downloading from the beginning and look at the header on the GET to see if its there, as not all servers honor the HEAD request. Then execute the TAIL download. (eg 1,000,000 byte file, you download from the beginning 0-900,000, and at the same time download 900,001-1,000,000)

As information is retrieved or known, the DownloadObject Class must be updated. As data is retrieved, the Bytes counter must be updated. The TimeToCompletion must computed within the property GET based on the starttime, bytes retrieved.

The 3 lists, Active, Completed, Waiting must be SYNC locked when manipulating an ADD or REMOVE.

Good documented code. Use of an [login to view URL] is the preferred method for downloading the data. As we have code to throttle streams we can wrap in.

Files must be open in SHARED mode, as we will access them as the file is download as well.

.NET C# Programmierung Softwarearchitektur Visual Basic

Projekt-ID: #978274

Über das Projekt

20 Vorschläge Remote Projekt Aktiv Apr 18, 2011

20 Freelancer bieten im Durchschnitt $440 für diesen Job

creatorul

Professional solutions

$1200 USD in 14 Tagen
(184 Bewertungen)
7.8
srinichal

I can deliver the code to your specs

$600 USD in 12 Tagen
(158 Bewertungen)
7.5
thanhlongfree

Hello sir, I'm experienced in .NET. Please check your PM. Let me do it for you. Thanks

$250 USD in 10 Tagen
(91 Bewertungen)
7.0
sandeep25101982

Hi! .Net experts here ! Please check PMB! Thanks

$750 USD in 10 Tagen
(38 Bewertungen)
6.7
IceProgrammer

Hello. Please check PM. Thanks.

$400 USD in 3 Tagen
(42 Bewertungen)
6.3
BitStar

I have a lot of experience on multithreaded applications doing http requests and downloading a file in segments. Most of the applications I've worked on involve http request in some way, and a lot of them involve threa Mehr

$590 USD in 14 Tagen
(32 Bewertungen)
5.7
luthv

Hi, If this is only for HTTP protocol then I think it can be done as long as the server supports HEAD request. I have working experience with multi threads application so I know what needs to be done. Luthfi

$300 USD in 10 Tagen
(23 Bewertungen)
5.5
tamrakar81

Hi , Please check PM. Thanks T

$350 USD in 4 Tagen
(42 Bewertungen)
5.4
crypted

Serious bidder, please check your pmb.

$300 USD in 7 Tagen
(32 Bewertungen)
5.2
itnewbie

Please check my PM.

$400 USD in 6 Tagen
(12 Bewertungen)
4.9
superMena2001

i have done a similar project before, i can offer a free sample for you also and can do it for 200$ Thanks

$250 USD in 5 Tagen
(9 Bewertungen)
4.3
shubham2dawra

Please Check Your PMB

$500 USD in 20 Tagen
(8 Bewertungen)
3.9
tomthanks

Certified MS developer...

$1000 USD in 30 Tagen
(1 Bewertung)
3.7
russoft

Good day sir! Please check pmb.

$250 USD in 2 Tagen
(3 Bewertungen)
4.0
EnjoySoft

Hi! We can do this project for you. Please see your PMB for details.

$250 USD in 6 Tagen
(2 Bewertungen)
2.6
aras3

I can do this. Give me your skype to move along. Regards Arek.

$250 USD in 1 Tag
(1 Bewertung)
1.2
virenderverma

Sir I have 5 years experience in web solutions. I believe in work quality, customer satisfaction and timely delivery of projects for better relations with customers. I believe in long term relationship. All of my wo Mehr

$250 USD in 10 Tagen
(1 Bewertung)
2.0
codeKahuna

Hi sir, please check PMB. Thanks. Daniele.

$250 USD in 5 Tagen
(0 Bewertungen)
0.0
JohnsonProgram

With over 16 years of software development experience, I can deliver a C# or VB.NET class to these specifications that comply with Microsoft's recommended practices and standards. I look forward to working with you if Mehr

$400 USD in 4 Tagen
(0 Bewertungen)
0.0