Can you add support for CDing to hidden directories?
I did not know it was impossible to do this, I'll try to look at that.
I assume it does an ls of the remote server to find out the names as it tries to be case insensitive. The code to examine() or lock() a directory that doesn't appear in this list needs a line added to attempt it on the server anyway. Probably, I'm just guessing having not looked at the FTPMount source code.
ispell: Interesting, I'm surprised it hasn't been picked up before.
Somebody broke the Aminet new directory so that it is now hidden, and since then I am unable to use FTPMount to upload files.
A pitty you didn't report this problem to the Aminet team. I did that now.. the support of all amigans out there is highly vital for us in the Aminet team and for any other developer out there.. so if anyone encounters any problems in future, please don't hesitate and report them .. your help is very much appreciated!
AmigaOS 4 core developer www.os4welt.de - Die deutsche AmigaOS 4 Gemeinschaft
"In the beginning was CAOS.." -- Andy Finkel, 1988 (ViewPort article, Oct. 1993)
Really? Oh, seems i missed that one .. or it just didn't ever reach the mailing list ... well, don't know to whom you talked back then, but i sent a mail to the moderators mailing list .. so i hope Nicomen or Christoph will address this issue soonish..
Anyway, please accept my apologize..
AmigaOS 4 core developer www.os4welt.de - Die deutsche AmigaOS 4 Gemeinschaft
"In the beginning was CAOS.." -- Andy Finkel, 1988 (ViewPort article, Oct. 1993)
I guess support for SFTP could be added relatively easily as it should be very similar to FTP protocol in many aspect (I should look for and read the corresponding RFC). SCP on the other hand might be another matter of thing as I guess the whole protocol is different to the FTP one, again I should study the RFC.
Finally I took some time to looak at the source and it seems the code already tries to open on the default public screen... So if you set DOpus to open on a public screen you should have all requester on its screen rather than on the WB...
I tested yesterday evening with DOpus 4 for OS4 to open on its own screen (I prefer using it in a window on the WB) and I also constated the problem you mentionned. So either DOPus is not opening a *public* screen, either the FTPMount code does not work despite using LockPubScreen(NULL) to find the default public screen... I should investigate further.
Currently Ftpmount locks the doslist (indirectly through AddDosEntry()) when adding itself, which can cause a deadlock when the list is already locked, so maybe something could be improved there (using NonBlockingModifyDosEntry() ?).
Also, a way of doing chmod would be very useful, preferably using the existing port of the gnu chmod command (maybe this already works, but I don't think it does)
ftpCHMOD/Perch will do it, but they're a bit icky (I wrote them).
Yes I plan to support changing the protection bits but this will be throw the ADOS API's (i.e. DOS Packets, see ACTION_SET_PROTECT). However currently FTPMount is on hold until I release the new version of ftpd (the ftp server I'm working on).
Yes I plan to support changing the protection bits but this will be throw the ADOS API's (i.e. DOS Packets, see ACTION_SET_PROTECT).
That's fine, AIUI that should support owner/group/other permissions through the chmod port (although it's been a long time since I last looked at the DOS packet specs)