FtpUpload Class

MSBuild

Uploads a file using File Transfer Protocol (FTP).


Namespace: MSBuild.Community.Tasks
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Public Class FtpUpload
    Inherits Task
C#
public class FtpUpload : Task
C++
ref class FtpUpload : Task
J#
public class FtpUpload extends Task
JScript
public class FtpUpload extends Task

Example

Upload a file.

 Copy Code
            <FtpUpload 
                LocalFile="MSBuild.Community.Tasks.zip" 
                RemoteUri="ftp://localhost/MSBuild.Community.Tasks.zip" />
            

Inheritance Hierarchy

System.Object
   Microsoft.Build.Utilities.Task
      MSBuild.Community.Tasks.FtpUpload

Thread Safety

Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.