Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
58 user(s) are online (44 user(s) are browsing Forums)

Members: 0
Guests: 58

more...
Support us!
Recent OS4 Files
OS4Depot.net



« 1 2 (3) 4 »


Re: SFTP filesystem
Just can't stay away
Joined:
2007/1/26 21:48
From New Zealand
Posts: 1942
@salass00

Quote:
More like "don't use non-ASCII characters".


Some of the latin character encodings support umlauts; e.g., ISO-8859-1.

I knew that displaying UTF-8 was hard, but I didn't realize that it also prevents accessing files with "non-standard" characters. I thought that you'd still be able to read the files.

Hans

_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
   Report Go to top

Re: SFTP filesystem
Just can't stay away
Joined:
2006/12/4 23:15
Posts: 1992
@Hans

Quote:

Some of the latin character encodings support umlauts; e.g., ISO-8859-1.


Yeah but conversion is complex, because of the lack of 1 to 1 correspondance between uf8 and 8bit encodings, and / or potentialy missing characters.

Quote:

I knew that displaying UTF-8 was hard, but I didn't realize that it also prevents accessing files with "non-standard" characters. I thought that you'd still be able to read the files.


I'm pretty sure you can actually. DOS doesn't care about encoding as far as I understand it.

I just created a file name schön (o with umlaut incase that doesn't get encoded properly between here and the website ) on my linux box, coppied it by ftp to ram: with pftp and could open it fine.

The filename displayed as

's' 'c' 'h' 'captial A tilda' 'paragraph mark' 'n'

but was still accessable from the workbench, or the shell if I used name completion. I might have a challenge trying to type it though.

The bigger problem would happen if I create a file called schön on the amiga side and try and send that. That ends up as sch?n (invaid encoding) in the filemanager, and again I can access it with name completeion, but this time I really can't type it at all.






_________________
Blender For OS4.x : Blues : Walker Broad
   Report Go to top

Re: SFTP filesystem
Just can't stay away
Joined:
2007/1/26 21:48
From New Zealand
Posts: 1942
@broadblues

Can you also open such files with ASL requesters?

I'm guessing that saving might be an issue if ASL requesters also do character set conversion.

Hans

_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
   Report Go to top

Re: SFTP filesystem
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 3034
@broadblues

Yes i tried that aswell and the üproblem is not FTP (in any derivate i tried).
That works pretty well.
The problem is inside (or missing from) smbfs/samba.
Accessing a share there will not let you use it once you copied, renamed or created it with such a character.

So i guess i might be in luck, at least when the new filesystem does the same as FTP does, otherwise i'm stomped again.

@Hans

Not tried with a FTP FS, but smbfs/samba will list the file, but access them.
Big problem, as my shares are virtually unusable.

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: SFTP filesystem
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1579
@Hans

Quote:

I'm guessing that saving might be an issue if ASL requesters also do character set conversion.


I'm pretty sure it doesn't. The problem is that most components just assume that all file names and such are in the "correct" codeset and do no conversion or checking whatsoever.

This only "works" as long as you only use native filesystems like FFS, SFS, JXFS, NGFS and so on that also make this assumption and never exchange disks with someone who uses a different codeset.

Other OSes have moved on to using utf-8 only and ideally AmigaOS should too.

   Report Go to top

Re: SFTP filesystem
Amigans Defender
Joined:
2006/11/17 22:40
From England
Posts: 3201
@broadblues

Quote:
Yeah but conversion is complex, because of the lack of 1 to 1 correspondance between uf8 and 8bit encodings, and / or potentialy missing characters.


I just realised an additional problem: in UTF-8 there is more than one way of expressing an accented character. There are conventions for normalisation that should prevent this from being a problem... but you never know...

   Report Go to top

Re: SFTP filesystem
Home away from home
Joined:
2007/5/19 13:23
From England
Posts: 3541
@salass00
I'll be VERY interested to try this with my FolderSync2, when it's a bit more mature, as FTP Mount is unreliable these days & SMBFS doesn't work at all (it nearly works but that's not enough for my heavy usage).

edit: I see discussion of UTF-8/etc support. FolderSync2 has a UTF-8 parsing mode, which works well with 'dumb' FTP Mount passing UTF-8 sequences straight through (from a Windows PC).

The reason I can't use SMBFS is it's UTF-8 support is broken/incomplete AND it has no "UTF-8 pass through" mode. (If I had time I'd investigate adding this myself. It would presumably be trivial, if you could get it to compile in the first place...)

So please ensure your SFTP filingsystem has the option for a dumb "UTF-8 pass-through" mode.

_________________
Author of the PortablE programming language.
I love using Amiga OS4.1
It is pitch black. You are likely to be eaten by a grue...
   Report Go to top

Re: SFTP filesystem
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1579
I just wrote a README file with some usage instructions for the ssh2-handler.

All of the relevant FUSE operations are implemented and working, with the exception of symlink() used for creating soft links. For some reason the libssh2_sftp_symlink() call just returns an error and won't do anything for me.

   Report Go to top

Re: SFTP filesystem
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1579
Some UNIX programs which depend on st_ino/ObjectID to see if files are the same or different failed when used with ssh2-handler because I was leaving this field set to zero.

I've now changed the code to generate a hash from the file system path instead.

   Report Go to top

Re: SFTP filesystem
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 3034
@salass00


Please keep the updates coming

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: SFTP filesystem
Just popping in
Joined:
2012/2/1 17:50
Posts: 54
What happened with this project? Was it released?

   Report Go to top

Re: SFTP filesystem
Just popping in
Joined:
2006/12/2 1:41
From VA, USA
Posts: 218
@salass00

Hi, I tried your last beta (v53.5) on an up to date beta
system and my shell account and had pretty mixed results.

It connected, but was exceptionally slow and seemed to lock
up all other disk access during any SSH disk activity.

Any chance you'll be releasing any more beta's for AmigaOS
(vs MattyOS)?

Thanks,

PJS

   Report Go to top

Re: SFTP filesystem
Home away from home
Joined:
2007/5/19 13:23
From England
Posts: 3541
@pjs
Where is it possible to download (beta) SFTP from?


Edited by ChrisH on 2018/4/18 19:43:01
_________________
Author of the PortablE programming language.
I love using Amiga OS4.1
It is pitch black. You are likely to be eaten by a grue...
   Report Go to top

Re: SFTP filesystem
Quite a regular
Joined:
2006/11/29 8:09
From Lyon, France
Posts: 951
@ChrisH

I think you'll ned beta components of amigaOS 4.1 (not yet released).

_________________
--
AmigaONE X1000 1,8Ghz, 2GB, Sapphire Radeon HD 7700, with Amiga OS 4.1 FE
http://www.amiga-ng.org
   Report Go to top

Re: SFTP filesystem
Quite a regular
Joined:
2006/11/29 8:09
From Lyon, France
Posts: 951
@ChrisH

I think you'll need beta components of amigaOS 4.1 (not yet released).

_________________
--
AmigaONE X1000 1,8Ghz, 2GB, Sapphire Radeon HD 7700, with Amiga OS 4.1 FE
http://www.amiga-ng.org
   Report Go to top

Re: SFTP filesystem
Home away from home
Joined:
2007/5/19 13:23
From England
Posts: 3541
@K-L
That doesn't answer my question :)

_________________
Author of the PortablE programming language.
I love using Amiga OS4.1
It is pitch black. You are likely to be eaten by a grue...
   Report Go to top

Re: SFTP filesystem
Quite a regular
Joined:
2006/11/29 8:09
From Lyon, France
Posts: 951
@ChrisH

True indeed

I don't know if beta tests are already open for OS4.1 beta testers but maybe this will be sorted via PM (since we, simple users, are still with older components)

_________________
--
AmigaONE X1000 1,8Ghz, 2GB, Sapphire Radeon HD 7700, with Amiga OS 4.1 FE
http://www.amiga-ng.org
   Report Go to top

Re: SFTP filesystem
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 3034
@ChrisH

As K-L mentioned, i'm pretty sure beta testing is closed to some users.
I have never seen a link as to where it could be downloaded.

But it would be really nice to get some updates on the development (wink, wink)

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: SFTP filesystem
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1579
Since yesterday was a bit cooler I spent some time and implemented ssh-agent support in ssh2-handler.

Another feature I've added is an option to set the root dir of the mounted volume.

These will both be available in the next release (V53.7).

@ChrisH

Ssh2-handler is available (along with the required updated filesysbox.library) to AmigaOS and Enhancer Software beta testers.

   Report Go to top

Re: SFTP filesystem
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 3034
@salass00

Do i understand it correctly that SFTP can provide an SSH connection from the outside, if needed?

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top


« 1 2 (3) 4 »



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project