ActiveX File Upload

M

MDB

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?
 
B

bruce barker

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)
 
M

MDB

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?
 
B

bruce barker

yes. the active/x control will also need to be signed.

or you could write the tool in silverlight.

-- bruce (sqlwork.com)
 
M

MDB

Thanks, I have been thinking about looking into silverlight anyway. I guess
now will be a good time to do so.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top