FTP or HTTP to upload files through ASP.NET?

R

RayAll

I am using HTTP to upload files to a database ,I'm just curious if I can do
it through FTP too and what would be the advantages and disadvantages of
these two method?

Thanks
 
S

Steve C. Orr [MVP, MCSD]

FTP is a bit more reliable and efficient, especially for larger files.
It also allows finer grained programatic control.
However, it tends not to be quite as user friendly.
 
R

RayAll

But there is another opinin saying that:

HTTP gives you direct access to the stream from within asp.net so its easy
to work with he binary object

What do you think about this?
 
R

RayAll

What do you mean by reliability?

Thanks
Steve C. Orr said:
FTP is a bit more reliable and efficient, especially for larger files.
It also allows finer grained programatic control.
However, it tends not to be quite as user friendly.
 
S

Steve C. Orr [MVP, MCSD]

HTTP transfers seem to be a bit more susceptible to glitches from my
experience.
Also, with advanced FTP functions you can resume interupted file transfers.
 
K

Kevin Spencer

From my experience, I see the opposite. I once had to write a service that
downloads documents automatically at intervals from an FTP server, and
handling all of the errors in the process took me weeks to write. FTP does
no parity checking, uses no checksums, and dropped packets are a regular
occurrence.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
R

RayAll

Resuming the file transfer thrugh an ASP.NET application????



Can you guide me to some related docs in this context?



Thanks
 

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

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top