473,396 Members | 1,712 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,396 software developers and data experts.

FTP communication

Hi all,

I need to transfer data via FTP from withing my .NET console application.
In VC++ there is the CFtpConnection class to handle the FTP communication.

Does anybody know how to handle if from .NET?
Nov 22 '05 #1
10 1483
Cor
Hi Mircea,

As far as I know do you have the same as in C++ and is there no complete
managed code for FTP. (You have to use the API calls and embed those in your
program)

Cor

I need to transfer data via FTP from withing my .NET console application.
In VC++ there is the CFtpConnection class to handle the FTP

communication.
Nov 22 '05 #2
> As far as I know do you have the same as in C++ and is there no complete
managed code for FTP. (You have to use the API calls and embed those in your program)


http://www.indyproject.org/indy.html contains a full FTP component. Its 100%
managed code, and also free.
Nov 22 '05 #3
The WebRequest can be used to provide FTP communication.
http://support.microsoft.com/default...b;EN-US;812409

Rob Zelt
http://www.robzelt.com/blog

"Mircea Pleteriu" <mp*******@asp-gmbh.de> wrote in message
news:OO**************@TK2MSFTNGP11.phx.gbl...
Hi all,

I need to transfer data via FTP from withing my .NET console application.
In VC++ there is the CFtpConnection class to handle the FTP communication.
Does anybody know how to handle if from .NET?

Nov 22 '05 #4
Cor
Hi Chad,

I saw this before is it source, and then what source?
I could not find it on the side.

I could not find until now any FTP dotNet components, but that can be my
fault of course.

(I have written myself of course a FTP program with all API calls in a
managed code program, but that is not full managed code in my opinion.)

Cor
Nov 22 '05 #5
"Cor" <no*@non.com> wrote in message
news:uF****************@TK2MSFTNGP09.phx.gbl...
I saw this before is it source, and then what source?


Its an assembly, just download and add a reference.

The dot net page lists what its written in with links to source if you want
that too. Its Delphi.net, but with .net it doesnt matter. And assembly is an
assembly.

Nov 22 '05 #6
"Rob Zelt" <ro*****@robzelt.com> wrote in message
news:uT**************@TK2MSFTNGP12.phx.gbl...
The WebRequest can be used to provide FTP communication.
http://support.microsoft.com/default...b;EN-US;812409


Doesnt this only give you basic downloads though by URL? No uploads, no
directory listing, no file parsing, etc..?
Nov 22 '05 #7
Cor
Hi Rob,

I thought I had seen it but could not find it anymore, and thought I had
dreamed it.

I try it.

Thanks

Cor
Nov 22 '05 #8
Mircea,
In addition to the others comments.

Matthew MacDonald's book "Microsoft Visual Basic >NET Programmer's Cookbook"
from MS Press includes a topic that discusses how to write an FtpClient
similar to the KB article that Rob posted.

Hope this helps
Jay

"Mircea Pleteriu" <mp*******@asp-gmbh.de> wrote in message
news:OO**************@TK2MSFTNGP11.phx.gbl...
Hi all,

I need to transfer data via FTP from withing my .NET console application.
In VC++ there is the CFtpConnection class to handle the FTP communication.
Does anybody know how to handle if from .NET?

Nov 22 '05 #9
Here's another example that shows uploading as well.
http://www.gotdotnet.com/userfiles/Feroze/ftpclient.zip

The book "Professional .NET Network Programming" (originally from WROX) from
APress! has a complete example of implementing and FtpWebRequest Class.

Rob Zelt
http://www.robzelt.com/blog
"Chad Z. Hower aka Kudzu" <cp**@hower.org> wrote in message
news:eM****************@TK2MSFTNGP09.phx.gbl...
"Rob Zelt" <ro*****@robzelt.com> wrote in message
news:uT**************@TK2MSFTNGP12.phx.gbl...
The WebRequest can be used to provide FTP communication.
http://support.microsoft.com/default...b;EN-US;812409


Doesnt this only give you basic downloads though by URL? No uploads, no
directory listing, no file parsing, etc..?

Nov 22 '05 #10
"Rob Zelt" <ro*****@robzelt.com> wrote in message
news:uS**************@TK2MSFTNGP12.phx.gbl...
Here's another example that shows uploading as well.
http://www.gotdotnet.com/userfiles/Feroze/ftpclient.zip


Ok. Download and upload. :)

Does it support file lists, list parsing, or any of the other FTP commands?
Its just strict URL based FTP no?
Nov 22 '05 #11

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

Similar topics

1
by: Noel | last post by:
Hi, I am a tad confused about if there are any benefits from using asynchronous vs synchronous network communication. As my example, I have been writing a dns lookup stack with a network...
1
by: alederer | last post by:
Hallo! I have the following situation: A db2 v6.1 client on AIX 4.3 (db2level reports U469703) and a OS/390 database version 6.1 . In some situations, I get the following error in my db2...
1
by: xixi | last post by:
i have catalog a remote database on my local db2 server, but now the remote database server with same machine name but the ip address changed, so i remove the old one, and try to catalog again...
3
by: Tim Reynolds | last post by:
I support a .Net application running on a SERVER accessing MF Db2 data. Occasionally, we have some type of connection problem that we have been unable to debug up to this point. We typically...
3
by: Laura | last post by:
I've just installed the DB2 Run-time client in a Solaris machine. Then I finnish the installation configuring the connection: 1. machine catalog was OK: ========================== $ db2 catalog...
3
by: Bryan Christopher | last post by:
Hello All! I have a rather abstract question for some genius out there to answer. I want to integrate communication tracking, for customer relations, into an existing Access DB. What I was going...
2
by: xeyder | last post by:
Hi everyone.. I need help about graph theory ( network problems) .. I have below problem . Does anyone know any existence algorithms or solutions to this problem ?? The Problems is: "...
4
by: Sačo Zagoranski | last post by:
Hi! I'm writing a simple 3D First person shooter game. It is a multiplayer game, where all the players connect to one server.
21
by: dast | last post by:
Hi, I'm having trouble letting my background thread tell my main thread what to do. I'm trying to tell my main thread to open a form, but when my background thread ends, the form that I...
2
by: xeyder | last post by:
Hi everyone.. I need help about graph theory ( network problems) .. I have below problem . Does anyone know any existence algorithms or solutions to this problem ?? The Problems is: " We...
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...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.