Uploads the content of the stream 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 ( _
	sourceStream As Stream _
) As String
C#
public string PutUniqueFile(
	Stream sourceStream
)

Parameters

sourceStream
Type: System.IO..::..Stream
The source data stream.

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