473,324 Members | 2,356 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,324 software developers and data experts.

FTP Upload

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
7 2579
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
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
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
"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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dave | last post by:
Hello there, I am at my wit's end ! I have used the following script succesfully to upload an image to my web space. But what I really want to be able to do is to update an existing record in a...
2
by: Sean Dotson | last post by:
I have a form that passes variables to an asp file and then uploads a file. For some reason the request.form is not getting the info from the form. It's returning blanks. Any insight would be...
0
by: SEMIH DEMIR | last post by:
Sitelerden birinde verilen yabancı kaynakli bir scriptti duzenledim yanlız birseyin içinden bir turlu cıkamadım işin aslı ilk defa persistin upload componentini kullanacam yanlız suanki haliyle...
1
by: Alex | last post by:
I am having issues with a script to upload files from a client to a webserver. The problem is not with the actual upload but with where it uploads. The whole process is supposed to create a...
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
7
by: pbd22 | last post by:
hi. i am having probs understanding how to grab a file being uploaded from a remote client. i am using hidden input fields for upload such as: <input id="my_file_element" type="file"...
9
by: 8anos | last post by:
Hello, I am new at the community and newbie at programming :) As you may know rapidshare provides a perl script for linux, to upload files at their servers. You can find the original scripts at...
21
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most...
2
by: hotflash | last post by:
Hi All, I found the best pure ASP code to upload a file to either server and/or MS Access Database. It works fine for me however, there is one thing that I don't like and have tried to fix but...
1
by: chennaibala | last post by:
can any one send me mutiple image upload program and save the file name with extension in mysql table.we must cheak uploaded file type like bmp or any image file while uploading. i develop...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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...

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.