Hey,
There's a client requirement to have my application send some files to
another server on the same network through FTP.
All I need to do is connect to the provided server and port, with the
provided username and password, then upload some files in binary mode, then
disconnect.
Is there a way in .Net to do this?
Any help would be appreciated.
Thanks.
Daniel 8 1266
<"Daniel Bass" <DanielBass TAKE at OUT CAPS WORDS Postmaster.co.uk>>
wrote: There's a client requirement to have my application send some files to another server on the same network through FTP.
All I need to do is connect to the provided server and port, with the provided username and password, then upload some files in binary mode, then disconnect.
Is there a way in .Net to do this? Any help would be appreciated.
I would suggest using Indy: http://www.indyproject.org
--
Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Cheers Jon
"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om... <"Daniel Bass" <DanielBass TAKE at OUT CAPS WORDS Postmaster.co.uk>> wrote: There's a client requirement to have my application send some files to another server on the same network through FTP.
All I need to do is connect to the provided server and port, with the provided username and password, then upload some files in binary mode,
then disconnect.
Is there a way in .Net to do this? Any help would be appreciated.
I would suggest using Indy:
http://www.indyproject.org
-- Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet If replying to the group, please do not mail me too
It should also be noted that FTP support will be provided out of the box
in the next release of .NET (there is an FtpWebRequest and FtpWebResponse
class I believe).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Daniel Bass" <DanielBass TAKE at OUT CAPS WORDS Postmaster.co.uk> wrote in
message news:ut**************@TK2MSFTNGP12.phx.gbl... Cheers Jon
"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message news:MP************************@msnews.microsoft.c om... <"Daniel Bass" <DanielBass TAKE at OUT CAPS WORDS Postmaster.co.uk>> wrote: There's a client requirement to have my application send some files to another server on the same network through FTP.
All I need to do is connect to the provided server and port, with the provided username and password, then upload some files in binary mode, then disconnect.
Is there a way in .Net to do this? Any help would be appreciated.
I would suggest using Indy:
http://www.indyproject.org
-- Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet If replying to the group, please do not mail me too
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote
in news:eQ*************@TK2MSFTNGP10.phx.gbl: It should also be noted that FTP support will be provided out of the in the next release of .NET (there is an FtpWebRequest and FtpWebResponse class I believe).
Thats in the next release which is a ways off - its also likely to be quite
basic as the other support is in .NET now.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Make your ASP.NET applications run faster http://www.atozed.com/IntraWeb/
I tried out the Indy and for the first time since I can remember, I read a
little bit of documentation, plugged in what I thought looked to make sense
when compared with some of the intro help stuff, and it worked no problem!
Excellent! ;o)
"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om... <"Daniel Bass" <DanielBass TAKE at OUT CAPS WORDS Postmaster.co.uk>> wrote: There's a client requirement to have my application send some files to another server on the same network through FTP.
All I need to do is connect to the provided server and port, with the provided username and password, then upload some files in binary mode,
then disconnect.
Is there a way in .Net to do this? Any help would be appreciated.
I would suggest using Indy:
http://www.indyproject.org
-- Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet If replying to the group, please do not mail me too
"Daniel Bass" <DanielBass TAKE at OUT CAPS WORDS Postmaster.co.uk> wrote in
news:eU**************@TK2MSFTNGP12.phx.gbl: I tried out the Indy and for the first time since I can remember, I read a little bit of documentation, plugged in what I thought looked to make sense when compared with some of the intro help stuff, and it worked no problem!
Excellent! ;o)
Very cool. :)
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Develop ASP.NET applications easier and in less time: http://www.atozed.com/IntraWeb/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: xxx |
last post by:
Hello,
My php-script makes directories and puts files in it.
But via FTP'ing, I can't delete those files anymore.
Also, I need to put a whole bunch of existing files into these,
'made-by-php'...
|
by: |
last post by:
Hi-
I was curious if anyone has had good luck using one of the commercial .NET
FTP client libraries to perform massive LIST commands. I have tried various
free libraries with no/little success,...
|
by: C |
last post by:
Hi,
Does anyone know what class library I need to use for
FTP'ing files from within ASP.Net
I need to FTP a file to a server and take the file back
down after a period of time.
This whole...
|
by: iforsyth |
last post by:
I have an application that sweeps through directories and looks for
FTP'd files to copy to a server location. Is there a good way to
detect whether a file is currently in use, e.g. someone is...
|
by: Jon Weston |
last post by:
Hi all. I'm trying to use the Internet Transfer Control in an Access03
database to upload a file using FTP. It's not giving me any errors but is
completely failing to upload the file. Here's the...
|
by: Matthew Crouch |
last post by:
I just used FileZilla (on windows) to download a site for testing in IE,
and it seems a couple of newline characters are added to all the php
scripts.
This isn't much of a problem until I get to...
|
by: AlunDavies |
last post by:
Hi,
I'm working on a system that recurses through a given directory, ftp-ing all the contents up to our FTP server. I've got the recursion bit working fine, but whenever I try to upload a file I...
|
by: Cirene |
last post by:
Using VB.NET (latest version) I want to log onto an FTP server and check for
the existance of 10 files in 3 different directories. I would prefer to do
this over 1 live connection. Anyone have...
|
by: =?Utf-8?B?SmFzb24=?= |
last post by:
Hello, can someone please suggest to me how I can keep my ftp connection from
timing out after a large file download?
I am using SSIS and I have tried multiple ways of ftp'ing the files in my...
|
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...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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: 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,...
|
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...
|
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...
|
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,...
| |