• Uploads the file to the specified url.

    Parameters

    • filePath: string

      The file path to upload.

    • url: string

      The remote url to upload.

    • Optionalauth: string

      The basic authentication (user:password).

    Returns Promise<string>