Uploads the content of the local file to the file with unique pathname on the server.

Namespace:  Rebex.Net
Assembly:  Rebex.Ftp (in Rebex.Ftp.dll)

Syntax

Visual Basic
Public Function PutUniqueFile ( _
	localPath As String _
) As String
C#
public string PutUniqueFile(
	string localPath
)

Parameters

localPath
Type: System..::..String
The path of the local file.

Return Value

Name of the newly created unique file on the server.

Remarks

Represents the FTP STOU command.

Use with caution - many servers do not support this and many servers support this incorrectly (MS FTP).

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also