By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,865 Members | 1,725 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,865 IT Pros & Developers. It's quick & easy.

FTP Upload

P: n/a
MDB
Anyone have any pointers / links / examples on how to upload files through
FTP? I am currently using the built in file upload control however it seems
to take a very long time to upload files and would like to explore other
ways of doing it. Any pointers or suggestions would greatly be appreciated.
Jan 30 '08 #1
Share this Question
Share on Google+
7 Replies


P: n/a
Hi

There is a FTP plugin I have used for Delphi 32 bit programming but it is
also available for .Net programing. Take a look at the PowerTCP tools at
www.dart.com. They cost a bit but the 32 bit DLL is very good. You can
control it very nice. You can basicly set time outs and very thing as you
want. I build a system that was installed on cient PC that sent ftp files to
a Linux server. If the connection dropped after an hour or to and was gone
for 3 hours I managed to get the program up and continue with the upload.
The key is waht happens when an upload fails if you upload 800 MB files. The
upload will in 99.9% of the cased have at least one timeout from the
Internet. If the device makes an exception you must be able to wait for tha
exception. I stronly recomend that you take a look at the Dart tools. They
cost abit but well worth the money.

IS the ftp program going to be on the webserver or will it be installed on
the clients computers.

Lars
"MDB" <md*@nospam.comskrev i meddelandet
news:u4**************@TK2MSFTNGP02.phx.gbl...
Anyone have any pointers / links / examples on how to upload files through
FTP? I am currently using the built in file upload control however it
seems to take a very long time to upload files and would like to explore
other ways of doing it. Any pointers or suggestions would greatly be
appreciated.


Jan 30 '08 #2

P: n/a
MDB
Thanks, Also the program will be running on the webserver.

"rosoft" <su*****@RosoftEngineering.comwrote in message
news:YV*****************@newsb.telia.net...
Hi

There is a FTP plugin I have used for Delphi 32 bit programming but it is
also available for .Net programing. Take a look at the PowerTCP tools at
www.dart.com. They cost a bit but the 32 bit DLL is very good. You can
control it very nice. You can basicly set time outs and very thing as you
want. I build a system that was installed on cient PC that sent ftp files
to a Linux server. If the connection dropped after an hour or to and was
gone for 3 hours I managed to get the program up and continue with the
upload. The key is waht happens when an upload fails if you upload 800 MB
files. The upload will in 99.9% of the cased have at least one timeout
from the Internet. If the device makes an exception you must be able to
wait for tha exception. I stronly recomend that you take a look at the
Dart tools. They cost abit but well worth the money.

IS the ftp program going to be on the webserver or will it be installed on
the clients computers.

Lars
"MDB" <md*@nospam.comskrev i meddelandet
news:u4**************@TK2MSFTNGP02.phx.gbl...
>Anyone have any pointers / links / examples on how to upload files
through FTP? I am currently using the built in file upload control
however it seems to take a very long time to upload files and would like
to explore other ways of doing it. Any pointers or suggestions would
greatly be appreciated.


Jan 30 '08 #3

P: n/a
there is almost no difference in file transfer speed between ftp and
http (or telnet for that matter), as the transfer code is the same
(tcp/ip stream).

ftp allows multiple files, and directory options. ftp will require the
user use a ftp client, and you would need to use a ftp server (iis has
one) to recieve the files.

-- bruce (sqlwork.com)

MDB wrote:
Anyone have any pointers / links / examples on how to upload files
through FTP? I am currently using the built in file upload control
however it seems to take a very long time to upload files and would like
to explore other ways of doing it. Any pointers or suggestions would
greatly be appreciated.

Jan 30 '08 #4

P: n/a
"MDB" <md*@nospam.comwrote in message
news:u4**************@TK2MSFTNGP02.phx.gbl...
Anyone have any pointers / links / examples on how to upload files through
FTP? I am currently using the built in file upload control however it
seems to take a very long time to upload files and would like to explore
other ways of doing it. Any pointers or suggestions would greatly be
appreciated.
If your users are uploading individual files one at a time, you're unlikely
to see very much of a speed increase with FTP...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jan 30 '08 #5

P: n/a
MDB
okay thanks. Any suggestions on how to speed it up? Its take a very long
time to upload small files (2mb)?

"Mark Rae [MVP]" <ma**@markNOSPAMrae.netwrote in message
news:%2***************@TK2MSFTNGP02.phx.gbl...
"MDB" <md*@nospam.comwrote in message
news:u4**************@TK2MSFTNGP02.phx.gbl...
>Anyone have any pointers / links / examples on how to upload files
through FTP? I am currently using the built in file upload control
however it seems to take a very long time to upload files and would like
to explore other ways of doing it. Any pointers or suggestions would
greatly be appreciated.

If your users are uploading individual files one at a time, you're
unlikely to see very much of a speed increase with FTP...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
Jan 30 '08 #6

P: n/a
Hi

There's a special tool from Dart that can handle a webservers FTP request.
ANd they have MANY more TCP tools as well. But first see if there is any FTP
server program available for Windows. It took us one year to develop our
special program when you include live testing at real clients, feedback and
bugfixing. You ship a new release and then you have to wayt a month to get
the responce just to fix a couple of lines in the code. Developing our own
tool takes time. For minor FTP activities such as uploading smaller files
like word doc for a CV ASP.NET might be sutable but for larger filer like
backups it a nother thing.

I fyou just want to upload your own files to a server you should try out the
new version of WS-FTP. That program can reconnct when a transmition is
broken. You have to tell WS-FTP when to stop trying to upload. To bad that
that program wasn't sutable for our backup project.

Yours
Lars

"MDB" <md*@nospam.comskrev i meddelandet
news:OP**************@TK2MSFTNGP03.phx.gbl...
Thanks, Also the program will be running on the webserver.

"rosoft" <su*****@RosoftEngineering.comwrote in message
news:YV*****************@newsb.telia.net...
>Hi

There is a FTP plugin I have used for Delphi 32 bit programming but it is
also available for .Net programing. Take a look at the PowerTCP tools at
www.dart.com. They cost a bit but the 32 bit DLL is very good. You can
control it very nice. You can basicly set time outs and very thing as you
want. I build a system that was installed on cient PC that sent ftp files
to a Linux server. If the connection dropped after an hour or to and was
gone for 3 hours I managed to get the program up and continue with the
upload. The key is waht happens when an upload fails if you upload 800 MB
files. The upload will in 99.9% of the cased have at least one timeout
from the Internet. If the device makes an exception you must be able to
wait for tha exception. I stronly recomend that you take a look at the
Dart tools. They cost abit but well worth the money.

IS the ftp program going to be on the webserver or will it be installed
on the clients computers.

Lars
"MDB" <md*@nospam.comskrev i meddelandet
news:u4**************@TK2MSFTNGP02.phx.gbl...
>>Anyone have any pointers / links / examples on how to upload files
through FTP? I am currently using the built in file upload control
however it seems to take a very long time to upload files and would like
to explore other ways of doing it. Any pointers or suggestions would
greatly be appreciated.



Jan 30 '08 #7

P: n/a
rosoft --

Thanks for recommending Dart's PowerTCP products. It's always great to
see what people are building with our components.

It sounds like you are mixing web and FTP solutions, so I thought I'd
mention that we have a set of ASP.NET File Upload controls
(http://www.dart.com/pwfileup.aspx) that offer full streaming support.

This means you can upload files through a browser and immediately start
streaming data to a destination FTP server -- no need to temporarily
store files on the web app server. This works extremely well with our
FTP for .NET product, too.

*** Sent via Developersdex http://www.developersdex.com ***
Jan 30 '08 #8

This discussion thread is closed

Replies have been disabled for this discussion.