Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
119 user(s) are online (90 user(s) are browsing Forums)

Members: 0
Guests: 119

more...

Support us!

Headlines

 
  Register To Post  

« 1 (2) 3 »
Re: Anyone use WebDAV and want to test new handler?
Just popping in
Just popping in


See User information
Ok, Icon didnt appear to WB, because of tooltype ACTIVATE=0 , now it is ACTIVATE=1 and works.

Retested with ACTIVATE=1

Logon tooltype as it was: STARTUP=URL http:/username:psswd@webdav.mydrive.ch NAME CLOUD

That causes CLOUD:test/test> prompt in shell, where it could be CLOUD:test>

Changed STARTUP=URL http:/username:psswd@webdav.mydrive.ch/ NAME CLOUD

Wich didnt made any difference, still CLOUD:test/test>

Some difference here is. With webdav.mydrive.ch/ -mount I got dir. All old drawers shows up. Then I made new drawer kokkeli. Only kokkeli shows up next dir command.

Then dismount, tooltype to webdav.mydrive.ch and remount. All drawers show up, including kokkeli.

I deleted all contents in CLOUD: , dismount, remount with webdav.mydrive.ch.

Same again, CLOUD:test/test> prompt in shell, same ghost drawer under test.

I deleted all contents in CLOUD: , dismount, remount with webdav.mydrive.ch/.

I deleted all contents in CLOUD: , dismount, remount with webdav.mydrive.ch/.

Same again, CLOUD:test/test> prompt in shell, same ghost drawer under test.

So, cant get any difference between webdav.mydrive.ch/ or webdav.mydrive.ch

CLOUD:test/test> prompt stays, same ghost drawer allso.

Same behaviour, if I enter directly CLOUD:test and execute del #?, it epties whole cloud.

Go to top
Re: Anyone use WebDAV and want to test new handler?
Just popping in
Just popping in


See User information
@Chris

If you want to mess with my webdav account, I can give credentials.

It is empty atm.


Go to top
Re: Anyone use WebDAV and want to test new handler?
Amigans Defender
Amigans Defender


See User information
No, I have a MyDrive account already - that's what I've been testing with primarily.

I've sort-of fixed the recurring directories problem (and the contents of directories are visible now in the Shell - which they weren't before, not sure how that went unnoticed), however I've introduced a new one where directories sometimes show up as tools in WB, oh, and:
Quote:
13.MyDrive:> dev
13.MyDrive:git> dir
dev (dir)
git (dir)
AmigaOS.cmake git2


Clearly wrong!

The main problem is that the old ACTION_EXAMINE stuff is horrendous, as there's no way of knowing if a single file or a directory is being exmained until ACTION_EXAMINE_NEXT is called (unless you can find out in advance - might be an option, but that's extra network traffic)

I'm tempted to ditch ACTION_EXAMINE as I think OS4.1 only uses it now if ACTION_EXAMINEDATA isn't supported... but I'm not sure on that. I need to implement ACTION_EXAMINEDATA first to check!

Go to top
Re: Anyone use WebDAV and want to test new handler?
Just popping in
Just popping in


See User information
Ok, good :)

I think that webdav is fine alternative to ftp. More secure than ftp. More modern allso.

Dunno even know, if ftps or sftp is possible to mount in Amiga, but they are impossible to get work throught firewall (securely).


Go to top
Re: Anyone use WebDAV and want to test new handler?
Amigans Defender
Amigans Defender


See User information
sftp and ftps can't be mounted, plain ftp can be. sftp is basically ssh/scp. I can't remember what ftps is (might be SSL encrypted ftp, nearly nobody uses it anyway)

Anyway, I found out the main problem with beta3 - updates to libssl had stopped my previous neon build from working with SSL. I've rebuilt neon and it is now working again. I'll upload a new beta when I've implemented the new examine packets (although when that'll be is anybody's guess). Until then, please use beta2 (for https sites) and ignore beta3.

Note that MyDrive works fine in non-encrypted (http) mode and therefore works with beta3 (barring previously-reported issues). Most other sites require encryption.

Go to top
Re: Anyone use WebDAV and want to test new handler?
Just popping in
Just popping in


See User information
Did you made any progress with webdav handler?

Peg2 1GHz G4, 1Gb mem, Radeon 9250
Go to top
Re: Anyone use WebDAV and want to test new handler?
Amigans Defender
Amigans Defender


See User information
@Mlehto

I started to replace ACTION_EXAMINE with ACTION_EXAMINEOBJECT, but since I only did the single file part and left it in an incoherent state, it tends to just crash now. I need to finish the implementation (ACTION_EXAMINEDIR??) but haven't got round to it. The old version sort-of works most of the time for me so it's not a priority.

Go to top
Re: Anyone use WebDAV and want to test new handler?
Just popping in
Just popping in


See User information
@Chris

Ok :)


Go to top
Re: Anyone use WebDAV and want to test new handler?
Just can't stay away
Just can't stay away


See User information
@Chris

You should implement the new, much cleaner vector port FS API and pass the legacy packets through the packet emulator. See dos.dospackets.doc in SDK:Documentation/AutoDocs/ and also:

http://wiki.amigaos.net/index.php/AmigaDOS_Vector-Port

Go to top
Re: Anyone use WebDAV and want to test new handler?
Amigans Defender
Amigans Defender


See User information
@salass00
Quote:
You should implement the new, much cleaner vector port FS API and pass the legacy packets through the packet emulator...

I agree. Using that old DOS packet stuff is just asking for headaches.

I think there is still stuff missing from the SDK so I may need a boot to get an update out for you guys.

ExecSG Team Lead
Go to top
Re: Anyone use WebDAV and want to test new handler?
Amigans Defender
Amigans Defender


See User information
I'd rather get it working using the new packets first, before worrying about the vector port API. Otherwise I'm introducing bugs by completely changing the structure of the code from something I'm (mostly) familiar with.

Go to top
Re: Anyone use WebDAV and want to test new handler?
Just can't stay away
Just can't stay away


See User information
@Chris

IMO that is just making more work for yourself. When porting filesysbox.library to AmigaOS 4.x I changed it over to vector port method directly instead of messing around adding support for the new AmigaOS 4.x packets only to have to redo that code again later.

Using vector port API you don't need to worry about BCPL strings, BCPL pointers and other such legacy crap unlike with packets.

Go to top
Re: Anyone use WebDAV and want to test new handler?
Amigans Defender
Amigans Defender


See User information
@salass00

It's already written and working under the old system, it's literally two packets I need to (re-)implement. If I was starting afresh I'd use vector ports, but this is old code.

I don't have time to do that, so I definitely don't have time to rewrite it all!

Go to top
Re: Anyone use WebDAV and want to test new handler?
Amigans Defender
Amigans Defender


See User information
Hmm, I added ExamineDataDir or EXAMINEDATA_DIR or whatever it is. It's still crashing. It's probably something trivial but I'm not sure I have the motivation to investigate and fix it (I'm using the old mostly-working version).

If anybody wants access to the source to work on it, PM me (it's on openamiga.org, it's also a complete mess - you have been warned!)

Go to top
Re: Anyone use WebDAV and want to test new handler?
Just can't stay away
Just can't stay away


See User information
@Chris

If it helps there is an implementation in filesysbox.library (see FbxExamineDir() in filesysbox.c):
https://dl.dropboxusercontent.com/u/26 ... 3/filesysbox-53.21-src.7z

One thing you need to remember is to pass the context pointer to AllocDosObjectTags() using ADO_ExamineDir_Context when allocating the ExamineData structures. IIRC I missed that in one of my first attempts and it caused some problems.

Go to top
Re: Anyone use WebDAV and want to test new handler?
Amigans Defender
Amigans Defender


See User information
@salass00

I'll have a look. I think the problem is on the WebDAV side though - when scanning directories the directory being scanned is also returned as an entry. For root this causes the first entry to have a NULL filename, so I need to somehow filter it out without returning an error. At least I *think* that's why it's crashing.

Go to top
Re: Anyone use WebDAV and want to test new handler?
Amigans Defender
Amigans Defender


See User information
OK, I've finally fixed this so it is now using the new 64-bit capable directory scanning functions. It seems to have broken something else as I'm getting various crashes and MultiView won't open any files direct from a WebDAV share.

But anyway, it largely works and I've released a new beta for people to play with.
http://www.openamiga.org/?function=viewfiles&projectid=63

Any feedback can be posted here.

Go to top
Re: Anyone use WebDAV and want to test new handler?
Just popping in
Just popping in


See User information

Are there any news about this? The last beta is 2 years ago, but I saw in the SVN log something about a v1 release commit in March this year?

AmigaOS 4 core developer
www.os4welt.de - Die deutsche AmigaOS 4 Gemeinschaft

"In the beginning was CAOS.."
-- Andy Finkel, 1988 (ViewPort article, Oct. 1993)
Go to top
Re: Anyone use WebDAV and want to test new handler?
Amigans Defender
Amigans Defender


See User information
@Cyborg

No news. The v1 commit was a minor update which didn't affect the WebDAV code - https://www.unsatisfactorysoftware.co.uk/download.php?file=http

Go to top
Re: Anyone use WebDAV and want to test new handler?
Just popping in
Just popping in


See User information
Ahh... there it is!

I was only looking at Open Amiga, saw the beta flags and didn't know it was released for all this years! :o

Well, great! I'll give it a spin tomorrow... need to do some BBQ now :)


Thanks!

AmigaOS 4 core developer
www.os4welt.de - Die deutsche AmigaOS 4 Gemeinschaft

"In the beginning was CAOS.."
-- Andy Finkel, 1988 (ViewPort article, Oct. 1993)
Go to top

  Register To Post
« 1 (2) 3 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project