GithubHelp home page GithubHelp logo

rambalac / acddokannet Goto Github PK

View Code? Open in Web Editor NEW
185.0 34.0 12.0 1.8 MB

Dokan.NET based driver for Amazon Cloud Drive

License: MIT License

C# 96.17% JavaScript 1.38% Smalltalk 1.69% C++ 0.60% C 0.17%

acddokannet's Introduction

PROJECT IS ABANDONED

Amazon rejected application for API2.0 and removed unlimited plans. There is no any way and point to continue this project.

As project is abandoned there maybe some security issues due outdated packages.

ACD Dokan.NET

This is Dokan.NET based driver for Amazon Cloud Drive. In other words you can use Amazon Cloud Drive as real disk drive in Windows. Not just in Windows Explorer, but in any application.

Starting from version 1.6.0 multiple clouds are supported, as example I added Microsoft OneDrive. As it's not ACD only I'm looking for better name. CloudHold?

Sample

Amazon CloudDrive

Login is done via default web browser, so application itself can not get your login and password, and if you already logged into Amazon Cloud Drive you don't need to enter anything, just click a button.

Shell Extension

Links

Context Menu

You can get temp links in Windows Explorer for selected files or open temp link of one selected file in your app used for that file extension. Temp links will work for few days only, Amazon Cloud Drive does not provide any way to create permanent links to files.

Also you can open folders in browser on Amazon Cloud Drive web site.

Upload here

Upload Here

You can copy files in Explorer and with Upload here in destination cloud folder context menu (right mouse button) start upload files and folders instantly.

Pros

  • Amazon Cloud Drive is presented as real drive working not only in Windows Explorer but in many other apps (with issues).
  • Driver presents Amazon Cloud Drive as it is with folders and files. You will see the same content as on Amazon Cloud Drive web site.
  • Driver does not create any special files on your Amazon Cloud Drive.
  • Same Amazon Cloud Drive can be used on multiple PCs with this Driver or in Web simultaneously (with issues).

Issues

  • Disk caching is done only for files with size less 20Mb. This can be changed, but be careful, Windows will try open all files you see in explorer. Big files are partially cached in memory and random access can be slow. Common video files are big and require random access to play. It's very unlikely you can play any video directly, but you can copy it to real drive first.
  • Files cannot be opened for Read and Write if size is bigger than cached file size.
  • Some applications can report some files cannot be opened. Still such files can be reopened later.
  • Sometimes Explorer thumbnails get broken.
  • There can be a conflict if you try to upload files with same name from different apps or web, only the first uploaded file will remain.
  • There can be different problems if you try to mess with uploading files like rename or move.

Notes

  • All files copied to cloud drive get to temp folder first and only then driver starts uploading. Because driver does not see what you are doing in Explorer it cannot now where it was copied from and has to get solid copy for upload. There is workaround with Upload here in context menu
  • Copying file from Amazon Cloud Drive into different folder in the same cloud will download file and reupload it back.
  • There is no limit for Upload cache folder where file copies for upload are stored.
  • Folders are cached in memory for 60 seconds. If you deleted or uploaded some files in other way like in web they will not appear/disappear same time even if you refresh folder, you have to wait up to 60 seconds and then refresh.
  • Communication between Amazon Cloud Drive and this driver is secured by SSL, but there is no built-in way, at least for now, to encrypt files before uploading to Amazon Cloud Drive.

Prerequisites

  • For use

  • For developing

    • VS 2017
    • .NET 4.6
    • Check Build info page

Installation

Tested apps

Windows Explorer

There can be issues with thumbnails, refresh to fix.

Lightroom 4

Keep catalog on real drive.

Browsing and editing generally works. There can be some glitches with some files. Open file in develop mode, if you see an error then switch to another file and after few seconds switch back, repeat if needed.

Catalog backup currently does not work due requirement for write already created files.

Issues reporting

If you did not get your cloud mounted or have other reason, sad to hear it. Here what you can do.

  • First thing to try - check for the latest version

  • If it does not help

    • Close app in System Tray
    • Run it again through "Run as Administrator"
    • Mount and try to repeat your problem.
    • Go to Options section
    • Click Export Log, select location and file name, Save
    • Click Open GitHub issue, follow GitHub instruction to create Issue and attach exported log.
  • If you have problems preventing to open settings windows in "Run as Administrator"

    • Open Windows Event Viewer, go to Windows Logs - Application
    • Filter by Event Source ACDDokan.NET.
    • Check if events do not contain anything too private, events usually contain path to files, but there is no any account name or more over any password as application cannot get them.
    • If there are some really private messages select all and unselect bad, Save Selected Events...
    • If nothing wrong Save Filtered Log File As...
    • Go to https://github.com/Rambalac/ACDDokanNet/issues
    • Create new issue and attach log file

News

2017-03-28

  • Release 1.7.3
  • Fixed remote telemetry checkbox bug, sorry.
  • Fixed Update button in Options
  • Removed HocketApp async initializing as it freezes app after several starts.

2017-03-28

  • Release 1.7.0
  • Fixed zero length upload & download (need more testing)
  • Root folder in cloud options (not tested much)
  • Few fixes to reduce http requstes to speed up.
  • Fixed auth saving broken in 1.6.5
  • Fixed unmount console command typo
  • Removed hard link use in small file opening for editing

2017-03-16

  • Release 1.6.5
  • Fixed several upload retry bugs. Failed files will be retried after all other files were uploaded or at least tried to upload in all cases.
  • Fixed Upload here removing use of symbolic links as they need administrator rights.
  • Added optional file hash calculation to compare with files in clouds. Disabled by default because it's slow.
  • Added optional remote telemetry for better bugs reporting. Can be enabled only manually, disabled any time and on app start it will be always disabled. Added because people reporting bugs never attach logs. Also does not need creating issues on GitHub and so does not need GitHub account. As telemetry enabled any exceptions get sent automatically. Old way is still available though to created logs you need to start app as administrator.

2016-12-08

  • Release 1.6.4.
  • Fixed few minor bugs with small files downloading.
  • Added console processor for basic control. Use ACD.DokanNet.Console.exe, the main GUI app has to be running.

2016-11-28

  • Release 1.6.3.
  • Better async code, also refactored and cleaned up - less lockups and slowdown.
  • Updated Amazon API to process error 500 and 504. Added support for Stream.
  • Big files download keeps HTTP stream if possible between reads. Memory cache get shared and bigger with smaller chunks. It should help with playing video. Together with error 500 and 504 processing it should make file copy faster and more reliable.

2016-11-05

  • Release 1.6.2.
  • New feature! "Upload here" from cloud folder context menu in Explorer will upload files copied into clipboard without buffering that files in temp folder. Upload starts immediately. Folders are supported.
  • Fixed some operations with uploading files like cancel in the list and cancel Explorer copy.
  • Some tuning upload errors processing.
  • Added automatic update check but need to be tested better. Still update should be run manually.
  • Dokany got update to 1.0.1 use it. https://github.com/dokan-dev/dokany/releases/tag/v1.0.1

2016-10-11

  • Fixed v1.6.0 glitches with Dokany
  • Fixed some UI issues like cloud delete

2016-10-09

Removed Prerelease 1.6.0 because of Windows Explorer locking out and only hardware Reset button helps. Looks like this happened after updating to Dokany 1.0.0, but need more testing.

2016-10-09

  • Prerelease 1.6.0.
  • Now you can mount multiple cloud services. As example and test Microsoft OneDrive was added. Theoretically it should support any libraries as Cloud.*.dll as Addons.
  • Uploading files list is displayed to show file name, progress and if failed error. Upload can be cancelled.

2016-04-14

  • Minor release 1.5.5. Fixed file names with special symbols.

2016-03-02

  • Add Windows Explorer Shell Extension with additional functionality in Explorer context menu. Now you can get temp links or open them directly in your app default for that file extension
  • Installer can autorun setting window.

2016-01-19

  • Release 1.4.0
  • Implemented access check. Only mounter and SYSTEM accounts can access drive.

2016-01-13

  • Release 1.2.0
  • Implemented ReadWrite for files small enough to be downloaded in 30sec
  • Added ReadOnly option

2016-01-06

  • Release 1.1.0
  • Fixed crash on exit in Windows 7
  • Upload will be resumed on next start if app was closed before all files got uploaded.
  • Improved performance for file reading.

2015-12-28

  • First release!
  • GUI for settings
  • Many fixes
  • Limit for file size in disk cache and total cache size. Other files cached only in memory.

2015-12-20

  • New files upload - done
  • Files read cached - done
  • Create folder - done
  • File/folders move/rename - done

Still there are issues.

  • Moving files from Amazon Cloud Drive can show security dialogs about files from bad place.
  • Explorer does not accept names for renaming longer 8 symbols.

2015-12-14

Now it can read files. But it's still not cached and reading from apps, like photos, can be very very slow. But linear reading like copying is possible.

2015-12-11

Can browse folders!

acddokannet's People

Contributors

rambalac 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

acddokannet's Issues

Acronis compatibility

Hi
I installed the program and it is working well
I tried to save with my acronis and it failed
It says that the target is already in use
Regards
Philippe

Should copy/paste work from within the drive?

Trying to move a folder with copy/paste (then delete the original if it works) and it creates the folder, looks to be moving the data (watching the win10 progress bar anyway) but then states "You'll need to provide administrator permission to copy to this folder", which I select Continue, but then it repeatedly says "You need permission to perform this action". Watching the Settings tool, I don't see the 'Transferring' values changing, so maybe its not actually moving the files? I wasn't sure if this was an install/setup issue or some other known limitation.
Thanks!

Amazon app secrets - where?

Build.md mentions:

"To connect to Amazon CLoud Drive you need to register your application and get app secret keys.
Create AmazonSecret.cs in ACD.DokanNet.Gui project and replace values with your app secrets "

How would we retrieve the app secret?

Explorer.exe hangs while browsing

Explorer.exe hangs while I navigate between directories.
win 7 x64
DokanSetup-1.0.0.5000
ACDDokan 1.6.4
Trial Amazon Drive

And I can't even taskkill this process.

File Already Exists

Anyway to replace files when you get a 'File Already Exists' message? I'd rather re-upload sometimes

Please install Dokan 1.0.1 to use this application

Hi,

i have installed ACDDokanNet 1.6.4 to solve "Object reference not set to an instance of an object", this version (1.6.4) ask to me "Please install Dokan 1.0.1 to use this application" but i already have this installed on my PC.
i tried to uninstall and reinstall Dokan 1.0.1.100 without result.
How can i solve this?

BR
Giuseppe.

The remote server returned an error: (400) Bad Request

Hi, i'm using version 1.5.5.36843 on windows 10.
Since this afternoon when I push the mount button and the message "Please follow Amazon Cloud Drive login page in your browser and retrun here after it's complete" appears, I get another window with the message "The remote server returned an error: (400) Bad Request".
Thanks for your help

Object reference not set to an instance of an object.

Hello Rambalac,

First of all, congratulations on this initiative - it is a very useful project. I have been successfully using an older version of the ACDDokanNet software on a Windows 7 machine so far and it runs great.

However, I also wanted to use it on an Amazon EC2 instance running Windows Server 2012 R2, and after installing the latest Dokany 1.0.1.1000 and ACDDokanNet 1.6.2, and trying to mount the Amazon Drive, after the browser logon step I get the following error:

"Object reference not set to an instance of an object."

Here's a detailed description from the Event Viewer log:

MountButton_Click: System.NullReferenceException: Object reference not set to an instance of an object.
   at Azi.Cloud.DokanNet.Gui.CloudMount.<>c__DisplayClass54_0.<Mount>b__1()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azi.Cloud.DokanNet.Gui.CloudMount.<Mount>d__54.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azi.Cloud.DokanNet.Gui.CloudMount.<MountAsync>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azi.Cloud.DokanNet.Gui.CloudItemControl.<MountButton_Click>d__4.MoveNext()

H:\Projects\C#\ACDDokanNet\ACD.DokanNet.Gui\CloudItemControl.xaml.cs: 33

Also, the OneDrive mount button gives another error, referring to Microsoft.OneDrive.Sdk. You can see it in the attached screenshots.

11
22

DETAILED MACHINE INFO:

OS Name	Microsoft Windows Server 2012 R2 Standard
Version	6.3.9600 Build 9600
Other OS Description 	Not Available
OS Manufacturer	Microsoft Corporation
System Name	WIN-UUIUKNDLJ9T
System Manufacturer	Xen
System Model	HVM domU
System Type	x64-based PC
System SKU	
Processor	Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz, 2500 Mhz, 1 Core(s), 1 Logical Processor(s)
BIOS Version/Date	Xen 4.2.amazon, 11/11/2016
SMBIOS Version	2.4
Embedded Controller Version	255.255
BIOS Mode	Legacy
Platform Role	Desktop
Secure Boot State	Unsupported
PCR7 Configuration	Not Available
Windows Directory	C:\Windows
System Directory	C:\Windows\system32
Boot Device	\Device\HarddiskVolume1
Locale	Japan
Hardware Abstraction Layer	Version = "6.3.9600.17196"
User Name	Not Available
Time Zone	GTB Standard Time
Installed Physical Memory (RAM)	1.00 GB
Total Physical Memory	1.00 GB
Available Physical Memory	119 MB
Total Virtual Memory	3.05 GB
Available Virtual Memory	1.56 GB
Page File Space	2.05 GB
Page File	C:\pagefile.sys
A hypervisor has been detected. Features required for Hyper-V will not be displayed.

I wish you all the best and please continue to improve the code :)
Andrei

File is too big for ReadWrite

OpenFile: File is too big for ReadWrite: \Howard Stern Radio Shows\2014\Other Source\2014-12 December 24Ks final\2014-12-16 HSRS.mp3

D:\dev2\amazon-clouddrive-dokan\amazon-clouddrive-dokan\FSProvider.cs: 326

Can't get the app to open

I have been running ACDokan for several months with no issue. Suddenly I cannot get the settings screen to open, the icon never appears in the system tray and the drive doesn't mount. The program does show in the task manager that it is running. I have uninstalled everything and reinstalled it all but it didn't fix the problem. Any ideas?

Access Denied

I have ACD set up and I can view my files in a mounted drive, however when I try to transfer a file I get a Destination Folder Access Denied message. This happens even with files as small as 1 KB. Windows asks me to provide administrator permission, but it makes no difference; I can't transfer any files. Everything seems to be set up for read only even though I did not check the read only box in options. I have my cache set to %TEMP%\ACDDokanNetCache, small files size set to 20 Mb and small files cache set to 1000 Mb. Any idea what the problem could be?

No audio when playing video

Hey there. I've got the most recent release of ACDDokanNet installed on Windows Server 2012 R2 with Dokany 1.0.1. Everything seems to be working well, with the exception of playing video.

When I start a video, the video plays fine, no issues whatsoever, but there is no audio. The video player detects the audio track correctly and believes that it's actually playing the audio, but there is no audio that comes through. Then if I copy that exact same file from the virtual drive to somewhere local (say, my Desktop) and play it, the audio plays fine.

I first noticed the problem when attempting to play a video from Plex, however I've since realized it's not just limited to Plex and actually is an issue in VLC as well.

Is this a known issue by chance? I have found no other posts online regarding this issue, so I'm at a loss as to where to go from here. Are there any troubleshooting steps I can take to assist in identifying/resolving the issue? I've exported the logs and have found that there are no errors or any other events generated when the audio fails to play, so I'm not including it with this issue submission.

Thank you!

Prime Unlimited Photos

Hi,

Even though Amazon Prime gives you unlimited photo storage, this app is only showing the drive as having a capacity of 5GB and will not allow me to attempt to upload more photos once capacity has reached 5GB. I can't be the only Prime user wanting to use this app, surely?

When I log into ACD through the browser, it is confirmed that the photos uploaded so far are not contributing to the storage limit, so this seems to be a problem with the app specifying a 5GB limit on the size of the drive.

Faulty mount location

Hello, I recently reinstalled my Windows 7 x64 to be able to run the newer versions of Dokany & ACDDokanNet. They work pretty well but I found a small mounting issue when Auto-startup & Auto-mount are checked. The drive letter I assigned to Amazon Cloud Drive in ACDDokanNet Settings is S: - however, it Auto-mounted under E:. Drive S: still appears as label "Local disk" under Other category. Here's a screenshot:
screenshot_20161227170241

I also started copying a large file to the Amazon Cloud Drive (E:) using ACDDokanNet in this erroneous configuration and it seems to upload without any problem.

Here is detailed info about my current configuration:

OS Name						Microsoft Windows 7 Professional
Version						6.1.7601 Service Pack 1 Build 7601
Other OS Description 				Not Available
OS Manufacturer					Microsoft Corporation
System Name					LEMONSTRE
System Manufacturer				To Be Filled By O.E.M.
System Model					To Be Filled By O.E.M.
System Type					x64-based PC
Processor					AMD Phenom(tm) II X4 B55 Processor, 3200 Mhz, 4 Core(s), 4 Logical Processor(s)
BIOS Version/Date				American Megatrends Inc. P1.60, 14 9 2010
SMBIOS Version					2.6
Windows Directory				C:\Windows
System Directory				C:\Windows\system32
Boot Device					\Device\HarddiskVolume1
Locale						United States
Hardware Abstraction Layer			Version = "6.1.7601.17514"
User Name					LeMonstre\dei
Time Zone					GTB Standard Time
Installed Physical Memory (RAM)			4.00 GB
Total Physical Memory				4.00 GB
Available Physical Memory			2.30 GB
Total Virtual Memory				7.99 GB
Available Virtual Memory			6.01 GB
Page File Space					4.00 GB
Page File					C:\pagefile.sys

Also, Dokany version is 1.0.1.1000 and ACDDokanNet is 1.6.4

I hope this information will be helpful.
Have a great day,
Andrei

Encrypted Fuse mount?

Hi,

wonderful program, and i'm wondering if there's any plans to allow encrypted fuse mounts? I have my main linux box backing stuff up with acd_cli using an encrypted FUSE mount (using ENCFS) -- this lets me see my ACD, but obviously i can only see the unencrypted files -- do you plan on perhaps making a tweak to allow to enter a key to decrypt data for local use?

Would be wonderful.

Thanks!

Prevent Downloading?

Is there a way to prevent downloading? Aka it seems to sync. I just need to upload only directly to it as it seems caching is destroying hard drive space. Thank you

Can't delete cache

When i try to delete cache i get the following error in the event viewer:
CachePath: Can not delete old cache: C:\Users\Administrator\AppData\Local\Temp\2\ACDDokanNetCache\SmallFiles

D:\dev2\amazon-clouddrive-dokan\amazon-clouddrive-dokan\SmallFilesCache.cs: 83

Dokany compatibilty

Hi,

the app apparently does not work with current Dokany 1.0.0.0 RC3 drivers - DOKANEXISTS returns false.

Cannot mount after restart

After restarting the OS, I cannot mount ACD again. When I click the mount button, a dialog that says "Please follow Amazon Cloud Drive login page in your browser and return here after it's complete" and the app crashes immediately. I tried removing the cache directory and restarting the app but no help.

Environment:
Latest ACD.DokanNet (1.4)
Windows 8.1 Home Edition
Accessing PC directly (Not through remote desktop)

The following is in the event viewer:

System.InvalidOperationException
Location System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
Location System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
Location Azi.ACDDokanNet.Gui.App+d__43.MoveNext()
Location System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
Location System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
Location Azi.ACDDokanNet.Gui.ViewModel+d__18.MoveNext()
Location System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
Location System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
Location Azi.ACDDokanNet.Gui.MainWindow+<mountButton_Click>d__3.MoveNext()
Location System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__6_0(System.Object)
Location System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
Location System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
Location System.Windows.Threading.DispatcherOperation.InvokeImpl()
Location System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
Location System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
Location System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
Location System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
Location System.Windows.Threading.DispatcherOperation.Invoke()
Location System.Windows.Threading.Dispatcher.ProcessQueue()
Location System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
Location MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
Location MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
Location System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
Location System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
Location System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
Location MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
Location MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
Location System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
Location System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
Location System.Windows.Application.RunDispatcher(System.Object)
Location System.Windows.Application.RunInternal(System.Windows.Window)
Location System.Windows.Application.Run(System.Windows.Window)
Location Azi.ACDDokanNet.Gui.App.Main()

Cannot Mount - "Value cannot be null" Error

This project is a great idea! Unfortunately for me the mount button only generates an error :-\

On my Windows 7 SP1 x64 Ultimate with .NET Framework 4.6.1 I did a fresh install of Dokany 0.8.0 and ACDDokanNet 1.5.2.23976
Selecting any available drive letter and clicking the "Mount" button only results in generating the following error message:

Value cannot be null.
Parameter name: uriPrefix

http://imgur.com/9M1IXH6

Result is the same when I choose "Run as administrator" for the ACD.DokanNet Settings.

I have attached the exported log file, however the error does not seem to appear in the log.

Any ideas on how to resolve this issue?

ACDDokanNetLog.zip

Zero files missing after upload

Currently Amazon Cloud Drive does not support zero length files upload with their REST API even if it's possible with their Web site

[QUESTION] How to limit cache to 1Mb

Hello,

I'm trying to use ACDDokanNet (which is a very great Dokan Mod) to upload large file to ACD using supercopier.

The problem is the file is marked a uploaded but in real all the file has been cached.

Is it possible to reduce really (like 1Mb max) the cache to direct writing the file ?

Browser login never pops up - [Remote server returned error: (400)]

Log Name: Application
Source: ACDDokan.Net
Date: 10/26/2016 11:16:42 AM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: BeeBowBow
Description:
MountButton_Click: Azi.Tools.HttpWebException: The remote server returned an error: (400) Bad Request.
at Azi.Tools.HttpClient.d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azi.Tools.Retry.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azi.Tools.HttpClient.d__231.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Azi.Tools.HttpClient.<PostForm>d__151.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azi.Amazon.CloudDrive.AmazonDrive.d__52.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azi.Amazon.CloudDrive.AmazonDrive.d__37.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azi.ACDDokanNet.Gui.App.d__40.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azi.ACDDokanNet.Gui.App.<>c__DisplayClass49_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azi.ACDDokanNet.Gui.App.d__49.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azi.ACDDokanNet.Gui.ViewModel.d__50.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azi.ACDDokanNet.Gui.MainWindow.<MountButton_Click>d__3.MoveNext()

H:\Projects\C#\ACDDokanNet\ACD.DokanNet.Gui\MainWindow.xaml.cs: 33
Event Xml:



0
2
0
0x80000000000000

1063714
Application
BeeBowBow



MountButton_Click: Azi.Tools.HttpWebException: The remote server returned an error: (400) Bad Request.
at Azi.Tools.HttpClient.<GeneralExceptionProcessor>d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azi.Tools.Retry.<Do>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azi.Tools.HttpClient.<SendForm>d__231.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Azi.Tools.HttpClient.&lt;PostForm&gt;d__151.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azi.Amazon.CloudDrive.AmazonDrive.<UpdateToken>d__52.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azi.Amazon.CloudDrive.AmazonDrive.<AuthenticationByTokens>d__37.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azi.ACDDokanNet.Gui.App.<Authenticate>d__40.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azi.ACDDokanNet.Gui.App.<>c__DisplayClass49_0.<<Mount>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azi.ACDDokanNet.Gui.App.<Mount>d__49.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azi.ACDDokanNet.Gui.ViewModel.<Mount>d__50.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azi.ACDDokanNet.Gui.MainWindow.<MountButton_Click>d__3.MoveNext()

H:\Projects\C#\ACDDokanNet\ACD.DokanNet.Gui\MainWindow.xaml.cs: 33

Random Unmounts (Possibly because of sleep?)

I've had a few instances where the drive will go missing in Windows Explorer as if it was unmounted, but when I open up the settings panel instead of mount the button says unmount, as if it's already mounted. Clicking that button makes it gray out and seemingly not do anything. Haven't been really paying attention to when it does this (I set this up on my Surface and use it sparingly between longer sessions on my desktop) but if I had to guess the Surface goes to sleep after it mounts but before it unmounts, so that may be a factor.

upload speed so slow

omg i finally mounted it but the upload speed is so slow ?
49kbps ? and also it hangs the process too !!

StrongNamer.AddStrongName task failed unexpectedly

I have downloaded solution. Unsigned the Assemblies,Provided Amazon Key and Secret Statically and build the solution and got error as below -

StrongNamer.AddStrongName task failed unexpectedly.....

What could be possible solution to it ?

Please find below complete Details of errror

Severity Code Description Project File Line Suppression State
Error The "StrongNamer.AddStrongName" task failed unexpectedly.
Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'DokanNet, Version=1.1.0.0, Culture=neutral, PublicKeyToken=cef3dedf553bda55'
at Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
at Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name)
at Mono.Cecil.DefaultAssemblyResolver.Resolve(AssemblyNameReference name)
at Mono.Cecil.MetadataResolver.Resolve(TypeReference type)
at Mono.Cecil.ModuleDefinition.Resolve(TypeReference type)
at Mono.Cecil.TypeReference.Resolve()
at Mono.Cecil.Mixin.CheckedResolve(TypeReference self)
at Mono.Cecil.MetadataBuilder.GetConstantType(TypeReference constant_type, Object constant)
at Mono.Cecil.MetadataBuilder.AddConstant(IConstantProvider owner, TypeReference type)
at Mono.Cecil.MetadataBuilder.AddField(FieldDefinition field)
at Mono.Cecil.MetadataBuilder.AddFields(TypeDefinition type)
at Mono.Cecil.MetadataBuilder.AddType(TypeDefinition type)
at Mono.Cecil.MetadataBuilder.AddTypeDefs()
at Mono.Cecil.MetadataBuilder.BuildTypes()
at Mono.Cecil.MetadataBuilder.BuildModule()
at Mono.Cecil.MetadataBuilder.BuildMetadata()
at Mono.Cecil.ModuleWriter.<>c.b__1_0(MetadataBuilder builder, MetadataReader _)
at Mono.Cecil.ModuleDefinition.Read[TItem,TRet](TItem item, Func3 read) at Mono.Cecil.ModuleWriter.BuildMetadata(ModuleDefinition module, MetadataBuilder metadata) at Mono.Cecil.ModuleWriter.WriteModuleTo(ModuleDefinition module, Disposable1 stream, WriterParameters parameters)
at Mono.Cecil.ModuleDefinition.Write(String fileName, WriterParameters parameters)
at Mono.Cecil.AssemblyDefinition.Write(String fileName, WriterParameters parameters)
at StrongNamer.AddStrongName.ProcessAssembly(ITaskItem assemblyItem, StrongNameKeyPair key)
at StrongNamer.AddStrongName.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() Cloud.DokanNet.Gui

Feature request: Automatic update

Hi!

First of all: I think ACDDokanNet is the bomb! I love it!

I have a feature request. Would it be possible to add some kind of Auto-Update feature? ๐Ÿ’ฏ

Keep up the good work!

Upload cache leads to inconsistent view of remote, crashing backup apps

Due to current upload implementation there is an inconsistency in the file-system abstraction.

When a large file (or a large amount of files) is written by a windows application, the service reports FileWrite operations as fulfilled, as soon as they are cached and before files are finished uploading. However, the folder listing does not report the files as present on the remote directory (because they still aren't there)

This leads to major failure of almost all major backup programs, which attempt to verify the file on the destination, or perform post copy operations (such as renaming, for transaction-safe updates, or setting file date, for correct date-time comparison).

I think there are two possible ways to solve this:

  1. An option to delay reported file operation as complete, until it is actually uploaded. (this would make working with ACD as working with slow networks / old USB drives)
  2. An option to 'shim' queued files to the OS, to allow post copy operations (renames, moves, set properties etc). This would require a complex cache logic, some form of 'shimmed file' overly (akin to dropbox) as well as tracking and consolidating post upload file operations in the cache.

I think option (1) is the safe and sane option. It will help better reflect upload progress, and importantly - it will prevent backup operations from flooding the upload cache.

I realize this might not be the preferred option for other scenarios, so I think it should be optional.

What do you think?

BSOD - 1.6.1

Hi,

I am running Windows 10 build 14951 and when trying to map ACD using 1.6.1 and Dokany 1.0.5000 I get an immediate BSOD once I have entered my credentials on the ACD website.

Please advise what events if any you would like.

Thanks,
Ed

Impossible to write

Hello, I m trying to use your ACDDokanNet but I Have some issues:

  • Download folder to my computer works
  • Upload file Don t work. It say me I haven't permission to write (Windows Message)

Can you help me ? (I m starting the program as an administrator)

Regards

Some files are not uploading

Getting the following error:

CreateFile: \Howard Stern Radio Shows\2015\2015-04 April 24Ks final\2015-04-03 Scott Weiland & The Wildabouts.mp3
  Access:[ReadAttributes]
  Share:[ReadWrite, Delete]
  Mode:[Open]
  Options:[35651584]
  Attr:[0]

System.AggregateException: One or more errors occurred. ---> Azi.Tools.HttpWebException: The remote server returned an error: (400) Bad Request.
   at Azi.Tools.HttpClient.GeneralExceptionProcessor(Exception ex)
   at Azi.Tools.Retry.<Do>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azi.Tools.HttpClient.<Send>d__19`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azi.Tools.HttpClient.<Send>d__17`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azi.Tools.HttpClient.<GetJsonAsync>d__8`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azi.Amazon.CloudDrive.AmazonNodes.<GetChild>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azi.ACDDokanNet.FSProvider.<FetchNode>d__53.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at System.Threading.Tasks.Task`1.get_Result()
   at Azi.ACDDokanNet.VirtualDrive._CreateFile(String fileName, FileAccess access, FileShare share, FileMode mode, FileOptions options, FileAttributes attributes, DokanFileInfo info)
   at Azi.ACDDokanNet.VirtualDrive.CreateFile(String fileName, FileAccess access, FileShare share, FileMode mode, FileOptions options, FileAttributes attributes, DokanFileInfo info)
---> (Inner Exception #0) Azi.Tools.HttpWebException: The remote server returned an error: (400) Bad Request.
   at Azi.Tools.HttpClient.GeneralExceptionProcessor(Exception ex)
   at Azi.Tools.Retry.<Do>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azi.Tools.HttpClient.<Send>d__19`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azi.Tools.HttpClient.<Send>d__17`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azi.Tools.HttpClient.<GetJsonAsync>d__8`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azi.Amazon.CloudDrive.AmazonNodes.<GetChild>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Azi.ACDDokanNet.FSProvider.<FetchNode>d__53.MoveNext()<---

D:\dev2\amazon-clouddrive-dokan\amazon-clouddrive-dokan\VirtualDrive.cs: 105

How to use this for noobs ?

Hey, I am so sorry i dont know i should post it or not but i really need help i want to set this up but i am a complete noob in developing world please can u help me step by step how to use it please ?
I am having WINDOWS 10

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.