Search Results for

    Show / Hide Table of Contents

    Class HttpFileTransfer

    Helper methods for downloading binary files.

    Inheritance
    System.Object
    HttpFileTransfer
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class HttpFileTransfer

    Methods

    DownloadFile(String)

    Downloads a file from the url. Decompresses using BZip2 if needed.

    Declaration
    public static Future<DataBuffer> DownloadFile(string url)
    Parameters
    Type Name Description
    System.String url

    The URL.

    Returns
    Type Description
    Future<DataBuffer>

    DownloadFile(String, String)

    Downloads a file from the url. Decompresses using BZip2 if needed. Then saves to the file system at filePath.

    Declaration
    public static Future<object> DownloadFile(string url, string filePath)
    Parameters
    Type Name Description
    System.String url

    The URL.

    System.String filePath

    The file path.

    Returns
    Type Description
    Future<System.Object>
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0