FS plugin for Windows Live SkyDrive

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

ghollosy
Junior Member
Junior Member
Posts: 13
Joined: 2009-06-17, 13:54 UTC
Location: Hungary

Post by *ghollosy »

2fenix_productions
I did it. I built both SkyDrive API and SkyDrive Plugin as x86.
You can download it from the planned releases on CodePlex.
Could you try it and let me know of the result?
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2ghollosy
I've proposed it as solution for robinsiebler so this is rather the question for him :)
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Steppenwolf
Junior Member
Junior Member
Posts: 40
Joined: 2004-11-30, 10:28 UTC

Post by *Steppenwolf »

i can not find the Downlod in the post vor this Plugin ?
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
robinsiebler
Senior Member
Senior Member
Posts: 460
Joined: 2003-03-05, 21:04 UTC

Post by *robinsiebler »

I'll try the 64 bit version when I get home. In the meantime, I have a feature request: if the file has a description in TC, it should be added as a comment for the file in SkyDrive. And vice versa, of course.
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
User avatar
Steppenwolf
Junior Member
Junior Member
Posts: 40
Joined: 2004-11-30, 10:28 UTC

Post by *Steppenwolf »

THX fenix_productions

I have the error "Error, could not load plugin!"
on WinXP32 sp3 and Win Vista64 SP2 + Framework 3.5 and all Updates
whis Version SkyDriveWfx.v0.8.1 and SkyDriveWfx.v0.8.1x86.
User avatar
robinsiebler
Senior Member
Senior Member
Posts: 460
Joined: 2003-03-05, 21:04 UTC

Post by *robinsiebler »

I got an error when trying to copy a 20MB file (perhaps it was too big?).

HgCo.WindowsLive.SkyDrive.OperationFailedException: The request was aborted: The request was canceled. ---> System.Net.WebException: The request was aborted: The request was canceled. ---> System.IO.IOException: Cannot close stream until all bytes are written.
at System.Net.ConnectStream.CloseInternal(Boolean internalCall, Boolean aborting)
--- End of inner exception stack trace ---
at System.Net.ConnectStream.CloseInternal(Boolean internalCall, Boolean aborting)
at System.Net.ConnectStream.System.Net.ICloseEx.CloseEx(CloseExState closeState)
at System.Net.ConnectStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at System.IO.Stream.Dispose()
at HgCo.WindowsLive.SkyDrive.HttpWebClient.UploadValuesMultipartEncoded(Uri address, Dictionary`2 parameters, Boolean allowAutoRedirect)
at HgCo.WindowsLive.SkyDrive.SkyDriveWebClient.UploadWebFile(String fileName, WebFolderInfo webFolderParent)
--- End of inner exception stack trace ---
at HgCo.WindowsLive.SkyDrive.SkyDriveWebClient.UploadWebFile(String fileName, WebFolderInfo webFolderParent)
at HgCo.WindowsLive.SkyDrive.TotalCommander.Plugins.SkyDriveWfx.PutFile(String LocalName, String& RemoteName, CopyFlags CopyFlags)
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
User avatar
robinsiebler
Senior Member
Senior Member
Posts: 460
Joined: 2003-03-05, 21:04 UTC

Post by *robinsiebler »

I still get the 'Could not load plugin' error
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
ghollosy
Junior Member
Junior Member
Posts: 13
Joined: 2009-06-17, 13:54 UTC
Location: Hungary

Post by *ghollosy »

2robinsiebler
I got it. It's due to the timeout value I set to 5 seconds. I do not really understand why itimeout?! is used/activated if the communication is alive and bytes are being transmitted. Anyway, I'll dig into this problem and find some workaround.
User avatar
robinsiebler
Senior Member
Senior Member
Posts: 460
Joined: 2003-03-05, 21:04 UTC

Feature Request: Remember Login

Post by *robinsiebler »

Can you have your plugin remember the login info, so I don't have to deal with the login dialog every (1st) time?
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
User avatar
robinsiebler
Senior Member
Senior Member
Posts: 460
Joined: 2003-03-05, 21:04 UTC

Post by *robinsiebler »

I don't think it has anything to do with a timeout; I get the error message immediately. I'd be glad to run a debug version and send you the log.
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
ghollosy
Junior Member
Junior Member
Posts: 13
Joined: 2009-06-17, 13:54 UTC
Location: Hungary

Error could not load plugin! or "Some DLLs are missing&

Post by *ghollosy »

2everybody

I tested the plugin on both Windows 7 x86 and x64. On both systems, the plugin failed to load at all.
I realized that some additional non-managed libraries are required to run the plugin. I suppose (I haven't tested yet), these libraries can be found in Microsoft Visual C++ 2008 Redistributable Package (x86).
So those who cannot load/add the plugin in TC, please try to download and install that package and retry to load the plugin in TC.

Regards,
Gabor
User avatar
robinsiebler
Senior Member
Senior Member
Posts: 460
Joined: 2003-03-05, 21:04 UTC

Post by *robinsiebler »

I installed the files, but I still can't load the plugin. Could you create a debug version that logs any errors it encounters?
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
ghollosy
Junior Member
Junior Member
Posts: 13
Joined: 2009-06-17, 13:54 UTC
Location: Hungary

Post by *ghollosy »

2robinsiebler

Yeah, the same happened for me when tested.
I would create a debug version, but the problem is in that native/managed library (DTools, also from CodePlex) I use to be able to write TC plugin in .Net. I tried to compile this library on my own, but couldn't.
Currently, I try to find out that what DLLs the DTools library wants to load .. and why it cannot load on vista or windows7 OS.
ghollosy
Junior Member
Junior Member
Posts: 13
Joined: 2009-06-17, 13:54 UTC
Location: Hungary

Post by *ghollosy »

2everybody

I got good news. I managed to found the missing DLLs!
I'll make some additional tests and then update the current release package on codeplex asap, accordingly.

Gabor
Post Reply