Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Ftp.PutUniqueFile Method

Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9147)

PutUniqueFile(Stream)

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

Declaration
public string PutUniqueFile(Stream sourceStream)
Parameters
Type Name Description
Stream sourceStream

The source data stream.

Returns
Type Description
String

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).

PutUniqueFile(String)

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

Declaration
public string PutUniqueFile(string localPath)
Parameters
Type Name Description
String localPath

The path of the local file.

Returns
Type Description
String

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).

In This Article
  • PutUniqueFile(Stream)
  • PutUniqueFile(String)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies