Connecting Tech Pros Worldwide Forums | Help | Site Map

FTP or HTTP to upload files through ASP.NET?

RayAll
Guest
 
Posts: n/a
#1: Nov 19 '05
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




Steve C. Orr [MVP, MCSD]
Guest
 
Posts: n/a
#2: Nov 19 '05

re: FTP or HTTP to upload files through ASP.NET?


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.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


"RayAll" <RayAll@microsft.com> wrote in message
news:OZmZNu2HFHA.3628@TK2MSFTNGP15.phx.gbl...[color=blue]
>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
>
>
>[/color]


RayAll
Guest
 
Posts: n/a
#3: Nov 19 '05

re: FTP or HTTP to upload files through ASP.NET?


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?


"Steve C. Orr [MVP, MCSD]" <Steve@Orr.net> wrote in message
news:OIbFP22HFHA.3364@TK2MSFTNGP10.phx.gbl...[color=blue]
> 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.
>
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://SteveOrr.net
>
>
> "RayAll" <RayAll@microsft.com> wrote in message
> news:OZmZNu2HFHA.3628@TK2MSFTNGP15.phx.gbl...[color=green]
>>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
>>
>>
>>[/color]
>
>[/color]


RayAll
Guest
 
Posts: n/a
#4: Nov 19 '05

re: FTP or HTTP to upload files through ASP.NET?


What do you mean by reliability?

Thanks
"Steve C. Orr [MVP, MCSD]" <Steve@Orr.net> wrote in message
news:OIbFP22HFHA.3364@TK2MSFTNGP10.phx.gbl...[color=blue]
> 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.
>
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://SteveOrr.net
>
>
> "RayAll" <RayAll@microsft.com> wrote in message
> news:OZmZNu2HFHA.3628@TK2MSFTNGP15.phx.gbl...[color=green]
>>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
>>
>>
>>[/color]
>
>[/color]


Steve C. Orr [MVP, MCSD]
Guest
 
Posts: n/a
#5: Nov 19 '05

re: FTP or HTTP to upload files through ASP.NET?


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.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


"RayAll" <RayAll@microsft.com> wrote in message
news:%23E0XvL3HFHA.896@TK2MSFTNGP10.phx.gbl...[color=blue]
> What do you mean by reliability?
>
> Thanks
> "Steve C. Orr [MVP, MCSD]" <Steve@Orr.net> wrote in message
> news:OIbFP22HFHA.3364@TK2MSFTNGP10.phx.gbl...[color=green]
>> 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.
>>
>> --
>> I hope this helps,
>> Steve C. Orr, MCSD, MVP
>> http://SteveOrr.net
>>
>>
>> "RayAll" <RayAll@microsft.com> wrote in message
>> news:OZmZNu2HFHA.3628@TK2MSFTNGP15.phx.gbl...[color=darkred]
>>>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
>>>
>>>
>>>[/color]
>>
>>[/color]
>
>[/color]


Steve C. Orr [MVP, MCSD]
Guest
 
Posts: n/a
#6: Nov 19 '05

re: FTP or HTTP to upload files through ASP.NET?


You can get direct access to the stream for FTP transfers too.
You'll have to write some custom code, or reuse some that's already freely
available on the internet such as these:
http://www.mentalis.org/classlib/ind...t+%26+Networks
http://www.codeproject.com/dotnet/dotnetftp.asp

ASP.NET 2.0 will have improved support for FTP so less code will be
necessary.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net



"RayAll" <RayAll@microsft.com> wrote in message
news:O0PtHL3HFHA.3376@TK2MSFTNGP14.phx.gbl...[color=blue]
> 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?
>
>
> "Steve C. Orr [MVP, MCSD]" <Steve@Orr.net> wrote in message
> news:OIbFP22HFHA.3364@TK2MSFTNGP10.phx.gbl...[color=green]
>> 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.
>>
>> --
>> I hope this helps,
>> Steve C. Orr, MCSD, MVP
>> http://SteveOrr.net
>>
>>
>> "RayAll" <RayAll@microsft.com> wrote in message
>> news:OZmZNu2HFHA.3628@TK2MSFTNGP15.phx.gbl...[color=darkred]
>>>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
>>>
>>>
>>>[/color]
>>
>>[/color]
>
>[/color]


Kevin Spencer
Guest
 
Posts: n/a
#7: Nov 19 '05

re: FTP or HTTP to upload files through ASP.NET?


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.

"Steve C. Orr [MVP, MCSD]" <Steve@Orr.net> wrote in message
news:e0mwjP3HFHA.4016@TK2MSFTNGP10.phx.gbl...[color=blue]
> 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.
>
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://SteveOrr.net
>
>
> "RayAll" <RayAll@microsft.com> wrote in message
> news:%23E0XvL3HFHA.896@TK2MSFTNGP10.phx.gbl...[color=green]
>> What do you mean by reliability?
>>
>> Thanks
>> "Steve C. Orr [MVP, MCSD]" <Steve@Orr.net> wrote in message
>> news:OIbFP22HFHA.3364@TK2MSFTNGP10.phx.gbl...[color=darkred]
>>> 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.
>>>
>>> --
>>> I hope this helps,
>>> Steve C. Orr, MCSD, MVP
>>> http://SteveOrr.net
>>>
>>>
>>> "RayAll" <RayAll@microsft.com> wrote in message
>>> news:OZmZNu2HFHA.3628@TK2MSFTNGP15.phx.gbl...
>>>>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
>>>>
>>>>
>>>>
>>>
>>>[/color]
>>
>>[/color]
>
>[/color]


RayAll
Guest
 
Posts: n/a
#8: Nov 19 '05

re: FTP or HTTP to upload files through ASP.NET?


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



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



Thanks

"Steve C. Orr [MVP, MCSD]" <Steve@Orr.net> wrote in message
news:e0mwjP3HFHA.4016@TK2MSFTNGP10.phx.gbl...[color=blue]
> 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.
>
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://SteveOrr.net
>
>
> "RayAll" <RayAll@microsft.com> wrote in message
> news:%23E0XvL3HFHA.896@TK2MSFTNGP10.phx.gbl...[color=green]
>> What do you mean by reliability?
>>
>> Thanks
>> "Steve C. Orr [MVP, MCSD]" <Steve@Orr.net> wrote in message
>> news:OIbFP22HFHA.3364@TK2MSFTNGP10.phx.gbl...[color=darkred]
>>> 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.
>>>
>>> --
>>> I hope this helps,
>>> Steve C. Orr, MCSD, MVP
>>> http://SteveOrr.net
>>>
>>>
>>> "RayAll" <RayAll@microsft.com> wrote in message
>>> news:OZmZNu2HFHA.3628@TK2MSFTNGP15.phx.gbl...
>>>>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
>>>>
>>>>
>>>>
>>>
>>>[/color]
>>
>>[/color]
>
>[/color]


Closed Thread