This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

New beta plugin: WebDAV (WebFolders)
Goto page 1, 2, 3 ... 17, 18, 19  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34649
Location: Switzerland

PostPosted: Fri Apr 09, 2004 8:55 am    Post subject: New beta plugin: WebDAV (WebFolders) Reply with quote

Hi all!

I have written a new file system plugin for Total Commander: WebDAV.

What is WebDAV? It is sometimes also called web folders, and is an enhanced HTTP protocol. Normally HTTP supports only commands like GET (downloads), PUT (uploads) and POST (post form data). WebDAV adds some more commands, like PROPFIND to get the directory contents.

The plugin is open source because it uses some (non-gpl) open source code. Please read the ReadMe file for details.

You can download the plugin here
The source code is available here

The plugin has been tested with the following WebDAV servers:
- Apache with mod_dav running on Linux and Windows
- Microsoft Internet Information server (IIS)
- Tamino WebDAV server (Software AG)
- Xythos WebDAV server, you can get a free test account on http://www.sharemation.com
- Web.de webdav services (no feedback yet)
- NEW: QR-Code scanner to connect to our WebDAV server on Android and Windows Phone!

Requirements: The plugin uses the WinInet library, so it requires an installed Microsoft Internet Explorer 4.01 or newer. The plugin supports both HTTP and HTTPS (through WinInet).

To the maintainers of clubtotal.tk and totalcmd.net: Please do NOT put this plugin on your sites yet! It is in an early beta stage.

Feedback is welcome!

Christian Ghisler
_________________
Author of Total Commander
http://www.ghisler.com


Last edited by ghisler(Author) on Thu Feb 19, 2015 4:43 am; edited 5 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Horst.Epp
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 2664
Location: Germany

PostPosted: Fri Apr 09, 2004 10:23 am    Post subject: Works with 1&1 in Germany Reply with quote

Works fine with 1&1 WebDAV in Germany,
after I found that I should not have the https:// prefix in my server name.
Very Happy
Back to top
View user's profile Send private message
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 9386
Location: Germany

PostPosted: Fri Apr 09, 2004 3:23 pm    Post subject: Reply with quote

2ghisler(Author)

My ISP 1&1 introduced a new service on April 1st. The first thought came to my mind was "Oh no a great service (extra 1000MB for free) but this useless webinterface. I will never use it until someone writes a Total Commander plugin...
Now - after a few days - I've got a great file system plugin for Total Commander.

Thank you very much for this great plugin. Very Happy

Suggestions:
1. Maybe some well known WEBDAV provider configurations such as "1 und 1" could be distributed with the plugin.
2. Don't forget about the new "Server" plugin type. Wink

Just one questions The progressbar shows a progress during entering folders. Normally the progress stops at about 4-8% and then enters the dir immediately. Is it by design?


2Horst.Epp

Quote:
Works fine with 1&1 WebDAV in Germany,
after I found that I should not have the https:// prefix in my server name.


Could you please post your complete settings.

My settings:
Connect to: mediacenter.1und1.de/
Secure server (via SSL) checked or not both works fine. Any idea why?
URLs in UTF-8: Not Checked
Use 3-step upload: Not checked

"1 und 1" seems to run Apache Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Horst.Epp
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 2664
Location: Germany

PostPosted: Sat Apr 10, 2004 6:19 am    Post subject: Reply with quote

2 Lefteous
I have the same settings as you.
Works regardless of the SSL setting.
As you said, this service only makes sense with such a plugin.

Christian is the greatest.
Plugins make the big difference to the competitions.
Back to top
View user's profile Send private message
fnheiden
Senior Member
Senior Member


Joined: 16 Feb 2003
Posts: 228
Location: Dresden, Germany

PostPosted: Sat Apr 10, 2004 9:53 am    Post subject: Reply with quote

Christian,

nice plugin - thanks for that one Smile

It works fine for my account at mc.1und1.de but I've noticed that the Cancel button does not work during uploads.

Best regards,
~ Florian
_________________
http://www.mp3tag.de
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Horst.Epp
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 2664
Location: Germany

PostPosted: Sun Apr 11, 2004 9:44 am    Post subject: Reply with quote

2 Christian
can you please add a background button,
as large DSL uploads can take a long time.
Back to top
View user's profile Send private message
norfie
Power Member
Power Member


Joined: 18 Feb 2003
Posts: 1194

PostPosted: Mon Apr 12, 2004 2:27 pm    Post subject: Reply with quote



Last edited by norfie on Sat Sep 11, 2004 2:01 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Horst.Epp
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 2664
Location: Germany

PostPosted: Tue Apr 13, 2004 6:39 am    Post subject: Reply with quote

norfie wrote:
Quote:
Feedback is welcome!

If use https:// in server-path then I get an access violation:
Code:
Access violation at address 01BF1DDD. Read of address 016F5BCF

Log windows shows
Code:
CONNECT \xxx
Get dir: //xxx.xxx.net

W98SE, TCmd V6.02


What is the benefit of this plugin over normal windows webfolders?[/b]

You should not enter https:// in front of your server name
Use just the name.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34649
Location: Switzerland

PostPosted: Wed Apr 14, 2004 10:20 am    Post subject: Reply with quote

Quote:
Maybe some well known WEBDAV provider configurations such as "1 und 1" could be distributed with the plugin.

Good idea! However, when a provider changes the server (or even server version), it may stop working.

Quote:
after I found that I should not have the https:// prefix in my server name.

Indeed the https wasn't supported, http was. I have modified the plugin to also accept https. However, the 'secure' option still needs to be checked.

Quote:
I've noticed that the Cancel button does not work during uploads

Hmm, this works fine here - on which step does the upload hang? Please use the detailed log option.

Quote:
can you please add a background button,
as large DSL uploads can take a long time.

Unfortunately plugins don't currently support background operation - especially because most plugins aren't thread-safe. I may add this in the future via a separate set of functions.

Quote:
If use https:// in server-path then I get an access violation:

Seems to be a Win98 error - I don't get one on Win2k. Please re-download the plugin, the new version should work with https prefix too now.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
norfie
Power Member
Power Member


Joined: 18 Feb 2003
Posts: 1194

PostPosted: Wed Apr 14, 2004 10:49 am    Post subject: Reply with quote



Last edited by norfie on Sat Sep 11, 2004 2:08 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
fnheiden
Senior Member
Senior Member


Joined: 16 Feb 2003
Posts: 228
Location: Dresden, Germany

PostPosted: Thu Apr 15, 2004 11:44 am    Post subject: Reply with quote

ghisler(Author) wrote:
Quote:
I've noticed that the Cancel button does not work during uploads

Hmm, this works fine here - on which step does the upload hang? Please use the detailed log option.


The upload doesn't hang, but the Cancel button doesn't work to abort the upload during the Last upload step.

Here is the detailed log:
Quote:
CONNECT \1und1
Get dir: \
PROPFIND / HTTP/1.1
Depth: 1
Content-Type: text/xml; charset="utf-8"
User-Agent: ezdavplugin
Host: mediacenter.1und1.de
Content-Length: 0
Connection: Keep-Alive
Cache-Control: no-cache
******Received headers
HTTP/1.1 207 Multi-Status
Date: Thu, 15 Apr 2004 17:21:15 GMT
Server: Apache
MS-Author-Via: DAV
Connection: close
Transfer-Encoding: chunked
Content-Type: text/xml; charset="utf-8"
207 Multi-Status
Get dir: \Backup
PROPFIND /Backup/ HTTP/1.1
Depth: 1
Content-Type: text/xml; charset="utf-8"
User-Agent: ezdavplugin
Host: mediacenter.1und1.de
Content-Length: 0
Connection: Keep-Alive
Cache-Control: no-cache
******Received headers
HTTP/1.1 207 Multi-Status
Date: Thu, 15 Apr 2004 17:21:17 GMT
Server: Apache
MS-Author-Via: DAV
Connection: close
Transfer-Encoding: chunked
Content-Type: text/xml; charset="utf-8"
207 Multi-Status
Get dir: \Backup\
PROPFIND /Backup/ HTTP/1.1
Depth: 1
Content-Type: text/xml; charset="utf-8"
User-Agent: ezdavplugin
Host: mediacenter.1und1.de
Content-Length: 0
Connection: Keep-Alive
Cache-Control: no-cache
******Received headers
HTTP/1.1 207 Multi-Status
Date: Thu, 15 Apr 2004 17:21:38 GMT
Server: Apache
MS-Author-Via: DAV
Connection: close
Transfer-Encoding: chunked
Content-Type: text/xml; charset="utf-8"
207 Multi-Status
File send: \Backup\test.dat
First upload step: Send 1 byte file for authentication
PUT /Backup/test.dat HTTP/1.1
Content-Type: application/octet-stream
User-Agent: ezdavplugin
Host: mediacenter.1und1.de
Content-Length: 1
Connection: Keep-Alive
Cache-Control: no-cache
******Received headers
HTTP/1.1 201 Created
Date: Thu, 15 Apr 2004 17:21:38 GMT
Server: Apache
MS-Author-Via: DAV
Location: http://xxx/Backup/test.dat
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html
201 Created
Last upload step: Send actual file
Get dir: \Backup
PROPFIND /Backup/ HTTP/1.1
Depth: 1
Content-Type: text/xml; charset="utf-8"
User-Agent: ezdavplugin
Host: mediacenter.1und1.de
Content-Length: 0
Connection: Keep-Alive
Cache-Control: no-cache
******Received headers
HTTP/1.1 207 Multi-Status
Date: Thu, 15 Apr 2004 17:26:34 GMT
Server: Apache
MS-Author-Via: DAV
Connection: close
Transfer-Encoding: chunked
Content-Type: text/xml; charset="utf-8"
207 Multi-Status


Best regards,
~ Florian
_________________
http://www.mp3tag.de
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34649
Location: Switzerland

PostPosted: Fri Apr 16, 2004 2:04 am    Post subject: Reply with quote

Quote:
The upload doesn't hang, but the Cancel button doesn't work to abort the upload during the Last upload step.


That's strange, it works fine here (as long as TC shows advancing progress in percent). But according to your log, the last upload step doesn't even start!

Last upload step: Send actual file
Get dir: \Backup

See, directly after the line "Last upload step" comes the download of the dir list...

It should look like this:

Quote:
Last upload step: Send actual file
PUT http://dfs.gmx.de/Meine%20Bilder/test.bmp
Content-Type: application/octet-stream
User-Agent: ezdavplugin
Host: dfs.gmx.de
Proxy-Connection: Keep-Alive
Pragma: no-cache
Content-Length: 42534
******Received headers
HTTP/1.0 204 No Content
Date: Wed, 14 Apr 2004 09:47:00 GMT
Server: Apache
MS-Author-Via: DAV
Content-Type: text/plain
X-Cache: MISS from aragorn.swissonline.ch
Proxy-Connection: keep-alive
204 No Content
Get dir: \Meine Bilder


So my question:
- were you able to upload any files at all?
- did you see a progress bar?
- which version of Windows do you use?
- which version of Internet Explorer is installed?

Thanks for your help!
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
fnheiden
Senior Member
Senior Member


Joined: 16 Feb 2003
Posts: 228
Location: Dresden, Germany

PostPosted: Fri Apr 16, 2004 2:58 am    Post subject: Reply with quote

ghisler(Author) wrote:
Quote:
The upload doesn't hang, but the Cancel button doesn't work to abort the upload during the Last upload step.
That's strange, it works fine here (as long as TC shows advancing progress in percent). But according to your log, the last upload step doesn't even start!

This only happens, when I try to press the Cancel button from the progress dialog.

Log without pressing cancel:
Quote:
Last upload step: Send actual file
PUT /Backup/test.dat HTTP/1.1
Content-Type: application/octet-stream
User-Agent: ezdavplugin
Host: mediacenter.1und1.de
Connection: Keep-Alive
Cache-Control: no-cache
Content-Length: 4198185
******Received headers
HTTP/1.1 204 No Content
Date: Fri, 16 Apr 2004 08:37:03 GMT
Server: Apache
MS-Author-Via: DAV
Connection: close
Content-Type: text/plain
204 No Content
Get dir: \Backup
PROPFIND /Backup/ HTTP/1.1
Depth: 1
Content-Type: text/xml; charset="utf-8"
User-Agent: ezdavplugin
Host: mediacenter.1und1.de
Content-Length: 0
Connection: Keep-Alive
Cache-Control: no-cache
******Received headers
HTTP/1.1 207 Multi-Status
Date: Fri, 16 Apr 2004 08:41:53 GMT
Server: Apache
MS-Author-Via: DAV
Connection: close
Transfer-Encoding: chunked
Content-Type: text/xml; charset="utf-8"
207 Multi-Status


Same log with pressing cancel:
Quote:
Last upload step: Send actual file
Get dir: \Backup
PROPFIND /Backup/ HTTP/1.1
Depth: 1
Content-Type: text/xml; charset="utf-8"
User-Agent: ezdavplugin
Host: mediacenter.1und1.de
Content-Length: 0
Connection: Keep-Alive
Cache-Control: no-cache
******Received headers
HTTP/1.1 207 Multi-Status
Date: Fri, 16 Apr 2004 08:48:24 GMT
Server: Apache
MS-Author-Via: DAV
Connection: close
Transfer-Encoding: chunked
Content-Type: text/xml; charset="utf-8"
207 Multi-Status


Quote:
- were you able to upload any files at all?

The file is uploaded in both cases.

Quote:
- did you see a progress bar?

Yes, it's a little bit odd, that the progress bar goes to 8-9% in the first upload step and then switches back to 0% for the second upload step.

Quote:
- which version of Windows do you use?

I've tested the plugin with Windows XP Professional SP1

Quote:
- which version of Internet Explorer is installed?

6.0.2800.1106.xpsp2.030422-1633

Best regards,
~ Florian
_________________
http://www.mp3tag.de
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34649
Location: Switzerland

PostPosted: Sun Apr 18, 2004 3:40 am    Post subject: Reply with quote

Thanks, I will test it on XP too. The only way to abort an upload is to close the upload handle - this may not work correctly in your case.

Quote:
Yes, it's a little bit odd, that the progress bar goes to 8-9% in the first upload step and then switches back to 0% for the second upload step.


The plugin shows two type of progress bars:
1. A real progress for the data transferred
2. For slow servers, the plugin starts to show a "processing" bar, which starts after 2 seconds with no response, and increments by 1% every 500 ms. This is just to show that something is still going on, and TC isn't crashed.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 9386
Location: Germany

PostPosted: Sun Apr 25, 2004 4:28 am    Post subject: Reply with quote

2ghisler(Author)

I am able to delete remote files, but I cannot overwrite files. Any ideas? Is it a rights problem or a problem of the plugin?
The current inability to overwrite files makes synchronizing a two step operation. Delete the remote files first and then transfer the local files to the server.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) All times are GMT - 6 Hours
Goto page 1, 2, 3 ... 17, 18, 19  Next
Page 1 of 19

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group