/// <summary>Uploads a local file to the server, overwriting any existing file.</summary> /// <param name="es3File">An ES3File containing the data we want to upload.</param> /// <param name="user">The unique name of the user this file belongs to, if the file isn't globally accessible.</param> /// <param name="password">The password of the user this file belongs to.</param> public IEnumerator UploadFile(ES3File es3File, string user, string password) { return(UploadFile(es3File.GetBytes(), es3File.settings, user, password, DateTimeToUnixTimestamp(DateTime.Now))); }
/// <summary>Uploads a local file to the server, overwriting any existing file.</summary> /// <param name="es3File">An ES3File containing the data we want to upload.</param> public IEnumerator UploadFile(ES3File es3File) { return(UploadFile(es3File.GetBytes(), es3File.settings, "", "", DateTimeToUnixTimestamp(DateTime.Now))); }