Git Product home page Git Product logo

amazonclouddriveapi's People

Contributors

kyrodan avatar rambalac avatar saguiitay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

amazonclouddriveapi's Issues

How to cancel file upload?

I see this:

public async Task<R> SendFile<R>(HttpMethod method, string url, FileUpload file)
{
    // ... [skipped] ...
    await pre.CopyToAsync(output).ConfigureAwait(false);
    await input.CopyToAsync(output).ConfigureAwait(false);
    await post.CopyToAsync(output).ConfigureAwait(false);
    // ... [skipped] ...
}

But this does not allow to cancel the upload action. CopyToAsync can accept a CancellationToken, but it's not passed. Can we have it fixed, please?

Also, is there a way to monitor the progress?

Files uploading not stuck

I'm noticing that Files uploading is stuck at 35.
and in %TEMP%\ACDDokanNetCache\Uploads, I see the file pairs still there.

How do I resume the uploads?

Invalid Scope

I may not I have not setup my security key properly, but I keep getting a response of:
'error_description=An+unknown+scope+was+requested&error=invalid_scope'
Where/How does one authorize Amazon Drive Scopes for a given security key?

Direct write to ACD?

Would it be possible to have it write directly to Amazon without caching to a local directory? I would rather see that 50Mb/s slow copy operation than for it to speed past at 100MB/s and have eventual consistency. Plus for me it will fill up the local disk and then I get Access Denied errors on files that are too large etc.

Uploads get Suck

So I have tried using this over 24 hours and it appears something happens and uploads get stuck and queue up until hard drive is full.

Using Robo Copy

When using robopy copy with ACD It appears to remove the remove directory from the cloud when using Robocopy

regardless of switches.

We need a way to break the download process

Currently, there is no way to break the download process. Maybe instead of nextProgress should be checked for being set to -1. Somehow this way:

while ((read = await input.ReadAsync(buff, 0, buff.Length).ConfigureAwait(false)) > 0)
{
    await stream.WriteAsync(buff, 0, read).ConfigureAwait(false);
    totalRead += read;
    if (progress != null && totalRead >= nextProgress)
    {
        nextProgress = progress.Invoke(totalRead);
        if (nextProgress == -1) // passing -1 from the progress function, will allow us breaking the download
        {
            break;
        }
    }
}

Small file size tooltip appears in other places

The small file type tooltip (Maximum size of files which will be cached whole on first request.) that appears overs "Small files size, Mb" also appears when you hover over "Small files cache, Mb", "Files download" and "Files uploading"

While I am here, can you explain the purpose of the small files cache? Does that have anything to do with uploading or is that just something like a quick access feature for files already backed up?

Looking for a command to mount?

Hello i am looking a a cmd command so i can mount my drive! because the automount does not always work and the drive becomes unmounted after a while on windows 10 also i would like to state i updated to the new dokan version i think its time for a acd 1.60 update :)

Server 2016

Appears you can not write to the Cloud Drive Letter in explorer with out administrator privileges.

Cache clogging

It seems to clog on files that make it into the upload cache but never get uploaded.

Invalid scope

Not sure if something changed recently, but according to ACD API authentication is via Amazon Login. Unfortunately, the ACD scope values do not appear to work with Amazon Login.

Of course, I could be missing something. I have an ACD account, registered my App with https://login.amazon.com, and am using my client ID and secret in your latest code branch.

Help is appreciated.

System.Net.ConnectStreap.position is not supported

Here: Azi.Tools.HttpClient::GetToStreamAsync() there is a problem. It is not possible to pass a progress function, since it immediately leads to an exception, because position field is not supported. Also, there is an apparent typo (red instead of read).

Ambiguous Methods

This method below, when I try run package throws error

 /// <summary>
        /// Returns object as parsed JSON from response.
        /// </summary>
        /// <typeparam name="T">Type of object to parse</typeparam>
        /// <param name="response">Response to parse</param>
        /// <returns>Parsed object</returns>
public static async Task<T> ReadAsAsync<T>(this HttpWebResponse response)
{
     var text = await response.ReadAsStringAsync().ConfigureAwait(false);
     return JsonConvert.DeserializeObject<T>(text);
}

CS0121 The call is ambiguous between the following methods or properties: 'Azi.Tools.HttpWebRequestExtensions.ReadAsStringAsync(System.Net.HttpWebResponse)' and 'Azi.Tools.HttpWebRequestExtensions.ReadAsStringAsync(System.Net.HttpWebResponse)' AmazonCloudDriveApi

How to fix it?

Temp-dir not found

I get this error when trying to mount my drive. I even tried with administrator rights.
It translates to "[TEMP PATH][FILE] not found!"
What should i be looking for in the logs ?
2016-11-20 18_21_16-programs

Run as a Service

Hi there!

Unreal tool, Is there a way that this can be run as a service ? so it can be used with Tasks ? This is for ADC Dokan.Net

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.