VintaSoft Twain .NET SDK 15.3: Руководство для .NET разработчика
Vintasoft.Twain.ImageUploading.Ftp Namespace / FtpUpload Class / AddFile(String,Stream) Method
Синтаксис Exceptions Example Требования Смотрите также
В этом разделе
    AddFile(String,Stream) Метод (FtpUpload)
    В этом разделе
    Adds file information to the FTP request.
    Синтаксис
    'Declaration
    
    Public Function AddFile( _
    ByVal fileName
    File name.
    As String, _
    ByVal stream
    Stream with the data of the file field.
    As System.IO.Stream _
    ) As Boolean

    Parameters

    fileName
    File name.
    stream
    Stream with the data of the file field.

    Return Value

    true if information about file was added successfully, false otherwise.
    Исключения
    ИсключениеОписание
    Thrown if file name or memory stream is null.
    Пример

    Please see example here: PostData.

    Требования

    Целевые платформы: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    Смотрите также