Skip to content

Commit

Permalink
add version note to ftp articles (dotnet#29061)
Browse files Browse the repository at this point in the history
  • Loading branch information
gewarren authored Apr 19, 2022
1 parent f66f6b0 commit 3502e1e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/framework/network-programming/ftp.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
title: "FTP - .NET"
description: Learn about the comprehensive support for the FTP protocol that the .NET Framework provides by using the FtpWebRequest and FtpWebResponse classes.
title: "FTP - .NET Framework"
titleSuffix: ""
description: Learn about the comprehensive support for the FTP protocol that .NET Framework provides with the FtpWebRequest and FtpWebResponse classes.
ms.date: "03/30/2017"
helpviewer_keywords:
- "FTP"
ms.assetid: 9b43f8b4-89d7-46a7-89fc-71aca916dd32
---
# FTP

The .NET Framework provides comprehensive support for the FTP protocol with the <xref:System.Net.FtpWebRequest> and <xref:System.Net.FtpWebResponse> classes. These classes are derived from <xref:System.Net.WebRequest> and <xref:System.Net.WebResponse>. In most cases, the <xref:System.Net.WebRequest> and <xref:System.Net.WebResponse> classes provide all that is necessary to make the request, but if you need access to the FTP-specific features exposed as properties, you can typecast these classes to <xref:System.Net.FtpWebRequest> or <xref:System.Net.FtpWebResponse>.
.NET Framework provides comprehensive support for the FTP protocol with the <xref:System.Net.FtpWebRequest> and <xref:System.Net.FtpWebResponse> classes. These classes are derived from <xref:System.Net.WebRequest> and <xref:System.Net.WebResponse>. In most cases, the <xref:System.Net.WebRequest> and <xref:System.Net.WebResponse> classes provide all that's necessary to make the request, but if you need access to the FTP-specific features exposed as properties, you can typecast these classes to <xref:System.Net.FtpWebRequest> or <xref:System.Net.FtpWebResponse>.

> [!NOTE]
> This article is specific to projects that target .NET Framework. For projects that target .NET 6 and later versions, [FTP is no longer supported](../../core/compatibility/networking/6.0/webrequest-deprecated.md).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ ms.assetid: 892548b8-954a-4f6a-9bca-2ae620c3700f

This sample shows how to download a file from an FTP server.

> [!NOTE]
> This article is specific to projects that target .NET Framework. For projects that target .NET 6 and later versions, [FTP is no longer supported](../../core/compatibility/networking/6.0/webrequest-deprecated.md).
## Example

```csharp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ ms.assetid: 130c64c9-7b7f-4672-9b3b-d946bd2616c5

This sample shows how to list the directory contents of an FTP server.

> [!NOTE]
> This article is specific to projects that target .NET Framework. For projects that target .NET 6 and later versions, [FTP is no longer supported](../../core/compatibility/networking/6.0/webrequest-deprecated.md).
## Example

```csharp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ ms.assetid: e40f17c5-dd12-4c62-9dbf-00ab491382dc

This sample shows how to upload a file to an FTP server.

> [!NOTE]
> This article is specific to projects that target .NET Framework. For projects that target .NET 6 and later versions, [FTP is no longer supported](../../core/compatibility/networking/6.0/webrequest-deprecated.md).
## Example

```csharp
Expand Down

0 comments on commit 3502e1e

Please sign in to comment.