Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

ActiveX File Upload

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MDB - 08 Feb 2008 12:50 GMT
Hello all,  I am thinking about writing my own ActiveX File upload control
in order to try and speed up files being uploaded / FTP'd to my webserver.
My first question is, will this make a difference in the speed of the files
being uploaded?  Second, does anyone have any pointers or suggestions for me
on things I should watch out for or examples?
Mark Rae [MVP] - 08 Feb 2008 13:04 GMT
> I am thinking about writing my own ActiveX File upload control things I
> should watch out for

ActiveX is restricted to Microsoft Internet Explorer - no other browsers
supports it, nor are they ever likely to...

While IE represents the largest share of the browser market
(http://www.thecounter.com/stats/2008/January/browser.php), you should
really think carefully before using ActiveX on a public website...

Signature

Mark Rae
ASP.NET MVP
http://www.markrae.net

bruce barker - 08 Feb 2008 16:43 GMT
http/ftp upload use a standard tcp/ip stream to upload a file. you cannot
make this go faster with your own code. you have two options:

1) add compression before upload (zip it first), this won't work if already
done.

2) write a private protocol not using streams, but switch to UDP. UPD is not
a reliable protocol, so you need to handle sequencing and rebroadcast of lost
packets. UPD is faster than TCP because there is no ack between packets. you
usually send multiple packets then a ack pack.

note: tcp/ip now uses sliding windows (more packets before ack), so you will
need to be a really good coder to beat it, but you can.


-- bruce (sqlwork.com)

> Hello all,  I am thinking about writing my own ActiveX File upload control
> in order to try and speed up files being uploaded / FTP'd to my webserver.
> My first question is, will this make a difference in the speed of the files
> being uploaded?  Second, does anyone have any pointers or suggestions for me
> on things I should watch out for or examples?
MDB - 08 Feb 2008 17:05 GMT
Thanks Bruce, my idea of writing an activex control was so I could add
compression to the files or resize images being uploaded. I am pretty sure
this has to be done using sometype of active x control, am I correct?

> http/ftp upload use a standard tcp/ip stream to upload a file. you cannot
> make this go faster with your own code. you have two options:
[quoted text clipped - 26 lines]
>> me
>> on things I should watch out for or examples?
bruce barker - 08 Feb 2008 19:47 GMT
yes. the active/x control will also need to be signed.

or you could write the tool in silverlight.

-- bruce (sqlwork.com)

> Thanks Bruce, my idea of writing an activex control was so I could add
> compression to the files or resize images being uploaded. I am pretty sure
[quoted text clipped - 30 lines]
> >> me
> >> on things I should watch out for or examples?
MDB - 08 Feb 2008 21:04 GMT
Thanks, I have been thinking about looking into silverlight anyway.  I guess
now will be a good time to do so.

> yes. the active/x control will also need to be signed.
>
[quoted text clipped - 42 lines]
>> >> me
>> >> on things I should watch out for or examples?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.