473,382 Members | 1,400 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

FTP or HTTP to upload files through ASP.NET?

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

Nov 19 '05 #1
7 1447
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" <Ra****@microsft.com> wrote in message
news:OZ**************@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

Nov 19 '05 #2
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]" <St***@Orr.net> wrote in message
news:OI**************@TK2MSFTNGP10.phx.gbl...
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" <Ra****@microsft.com> wrote in message
news:OZ**************@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


Nov 19 '05 #3
What do you mean by reliability?

Thanks
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:OI**************@TK2MSFTNGP10.phx.gbl...
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" <Ra****@microsft.com> wrote in message
news:OZ**************@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


Nov 19 '05 #4
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" <Ra****@microsft.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
What do you mean by reliability?

Thanks
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:OI**************@TK2MSFTNGP10.phx.gbl...
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" <Ra****@microsft.com> wrote in message
news:OZ**************@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



Nov 19 '05 #5
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" <Ra****@microsft.com> wrote in message
news:O0**************@TK2MSFTNGP14.phx.gbl...
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]" <St***@Orr.net> wrote in message
news:OI**************@TK2MSFTNGP10.phx.gbl...
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" <Ra****@microsft.com> wrote in message
news:OZ**************@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



Nov 19 '05 #6
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]" <St***@Orr.net> wrote in message
news:e0**************@TK2MSFTNGP10.phx.gbl...
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" <Ra****@microsft.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
What do you mean by reliability?

Thanks
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:OI**************@TK2MSFTNGP10.phx.gbl...
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" <Ra****@microsft.com> wrote in message
news:OZ**************@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




Nov 19 '05 #7
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]" <St***@Orr.net> wrote in message
news:e0**************@TK2MSFTNGP10.phx.gbl...
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" <Ra****@microsft.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
What do you mean by reliability?

Thanks
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:OI**************@TK2MSFTNGP10.phx.gbl...
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" <Ra****@microsft.com> wrote in message
news:OZ**************@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




Nov 19 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tihon | last post by:
Hello! I again need your help, just can't understand whats going on. Got this upload pictures form and it's having problem handling large files (~1.5 - 2 MB). Everything works fine if i just...
1
by: TK | last post by:
I have a file upload control to allow a user to select/upload a file to the server. They need to upload x number of files in one shot because they have to confirm that they are uploading x number...
2
by: Tom Wells | last post by:
I have a little file upload page that I have been able to use to successfully upload files to the C: drive of LocalHost (my machine). I need to be able to upload to a network drive from the intranet...
4
by: Matt Jensen | last post by:
Howdy I've got a rather strange issue occuring. I used forms based .NET authentication, although I'm also setting some session variables when people login. However, I've found when people use...
6
by: =?ISO-8859-1?Q?J=F8rn?= Dahl-Stamnes | last post by:
I have a strange problem when uploading a PDF document to a web-server. When I try this to a web-server running Apache 2 on a FC 4, it fails. Firefox says that the document contain no data. If I...
0
by: dann2 | last post by:
hello, i try to upload in an access db two pictures at the same time. i use the adjusted sample code from persits. it looks like this: ... '<% ' Create an instance of AspUpload object 'Set...
0
by: phpfreak2007 | last post by:
Hi all, I am trying to upload file using VB HTTP Post method and winsock control . Can successfully upload the files when client machine is English OS, but create problem when upload from Chinese...
43
by: bonneylake | last post by:
Hey Everyone, Well this is my first time asking a question on here so please forgive me if i post my question in the wrong section. What i am trying to do is upload multiple files like gmail...
5
by: kailashchandra | last post by:
I am trying to upload a file in php,but it gives me error msg please Help me? My Code is like below:- i have one php file named upload.php and i have another html file named upload.html and...
1
by: achotto | last post by:
hi, i try to upload a multiple image files. after that i will rename the files name. the problem is when i upload a 2 or more same files name exp-goal.jpg, it will return "files already exist". ok...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.