AROS World Exec

Development => AROS Software Development => Topic started by: jPV on May 23, 2023, 08:27:27 AM

Title: RNOXfer (S)FTP(S) client
Post by: jPV on May 23, 2023, 08:27:27 AM
RNOXfer is a graphical multipurpose file transfer client with support for FTP, FTPS, and SFTP protocols.

With the recent effort of porting AmiSSL on AROS and the new hURL plugin for Hollywood, it might be possible to make RNOXfer to work on AROS (x86) too. I've now created an AROS version to try, but I only made some minimal testing with it under emulation, so I'm hoping for feedback on your findings on native setups etc. I guess there are many incompatibilities on the GUI with Zune, and graphical buttons aren't probably working (I think Zune doesn't support images in text objects), but let me know if I'm wrong (I have a bit outdated AROS setup).

So, let me know what doesn't work and let's see if I can create any work-arounds.

Here's a beta version, but please don't upload it to any file repositories yet: Download (https://jpv.amigaaa.com/RNOXfer/beta/RNOXfer_AROS_beta_nodistribute.lha)
Title: Re: RNOXfer (S)FTP(S) client
Post by: OlafS3 on May 23, 2023, 09:02:01 AM
@jpv

On Aros 68k the OS3 version works in my distribution. And I use Zune. I have f.e. attached Aminet with it and downloaded a file to test it. Without problems.
Title: Re: RNOXfer (S)FTP(S) client
Post by: jPV on May 23, 2023, 09:09:33 AM
@jpv

On Aros 68k the OS3 version works in my distribution. And I use Zune. I have f.e. attached Aminet with it and downloaded a file to test it. Without problems.
Does it work if you enable Graphical Buttons from the Settings?
Title: Re: RNOXfer (S)FTP(S) client
Post by: OlafS3 on May 23, 2023, 09:37:23 AM
where exactly do I find these settings?

In the app?
Title: Re: RNOXfer (S)FTP(S) client
Post by: Amiwell on May 23, 2023, 10:07:45 AM
when i start the program the system resets
Title: Re: RNOXfer (S)FTP(S) client
Post by: AMIGASYSTEM on May 23, 2023, 10:24:47 AM
jPV I tested RNOXfer on AROS One with "VMwarePlayer" and it works very well, tried connecting on at the preinstalled link and it worked fine, also tried downloading some archives, all perfect (if screenshots).

Question, how do you save links ? , can LHA, ZIP etc. archives be associated with a tool ?

Found a problem with JPG images, if I double click I have a guru, no promlems with other types images, successfully tested PNG and BMP.

To verify that the problem was on the Hollywood Plugin, I tried a Viewer that makes use of Hollywood and had no problem viewing JPG images



(https://ae.amigalife.org/index.php?action=dlattach;topic=1130.0;attach=4958;image)
Title: Re: RNOXfer (S)FTP(S) client
Post by: jPV on May 23, 2023, 11:12:05 AM
where exactly do I find these settings?

In the app?
Yes, in the pull-down menu Settings -> Settings... -> General -> Miscellaneous -> Graphical buttons
Title: Re: RNOXfer (S)FTP(S) client
Post by: AMIGASYSTEM on May 23, 2023, 11:23:49 AM
jPV, I forgot Graphical Buttons don't work, RNOXfer requires MUI 4 or higher, and does not salil Buttons setting.


(https://ae.amigalife.org/index.php?action=dlattach;topic=1130.0;attach=4960;image)
Title: Re: RNOXfer (S)FTP(S) client
Post by: jPV on May 23, 2023, 11:32:47 AM
Question, how do you save links ?
In the Server List window, click the Add button to add the current server info as a new server in the list, or click the New button to create a new empty server in the list. To save the list, select "Settings -> Save" from the pull-down menu. There's a PDF manual included in the archive too.


Quote
can LHA, ZIP etc. archives be associated with a tool ?
Not currently in the program... you can only define one tool to open all files in "Settings -> General -> External programs -> Viewer". In MorphOS you can use the Open command which will then use Ambient's definitions for all file types (LhA and Zip will then be opened as defined in Ambient mimetypes), and in OS4 WBRun does the same with DefIcons. Does AROS have WBRun/DefIcons or similar solution? I just turned off my PC and can't check right now :) Anyway, the Viewer defaults to Multiview on other platforms, but if there's a suitable command in AROS, I can make it default to that.

I have a better "filetype" feature in my to-do list, but I haven't implemented that yet.. and I have such many new features in this version that I don't know if I dare to do anything more at this point before seeing how they work. But in the future I'll provide a way to create own definitions for different file types.


Quote
Found a problem with JPG images, if I double click I have a guru, no promlems with other types images, successfully tested PNG and BMP.

To verify that the problem was on the Hollywood Plugin, I tried a Viewer that makes use of Hollywood and had no problem viewing JPG images
Double-clicking a file doesn't use Hollywood at all, it will use the external viewer defined in the Settings. By default setting in AROS, it'll try to view the image with SYS:Utilities/Multiview. Does the same image crash if you open it directly in Multiview?
Title: Re: RNOXfer (S)FTP(S) client
Post by: AMIGASYSTEM on May 23, 2023, 11:47:16 AM
I tried adding new and saving, but nothing is saved

AROS One has WBRun and all file types are associated with a Def_Icon, I have created many Datatype descriptors that do not exist on MOS and OS4, and AROS One recognizes many types of audio, video and many other file formats, and each has a custom icon with custom tool.

JPG images display them fine with Multiview, no problem

Found a serious problem, when I exit RNOXfer, even if I do not perform any operation, if I click on any Volume Icons (more frequently with Disk Ram) on Wanderer I get a GURU


For confirmation I will do some tests on a clean reference Build !
Title: Re: RNOXfer (S)FTP(S) client
Post by: AMIGASYSTEM on May 23, 2023, 12:23:14 PM

In the Server List window, click the Add button to add the current server info as a new server in the list, or click the New button to create a new empty server in the list. To save the list, select "Settings -> Save" from the pull-down menu. There's a PDF manual included in the archive too.

Ok now it works the links are saved correctly, but from the menu I see only one, where am I wrong ?

By WBRUN, you mean I have to run RNOXfer from a script with WBRUN? tried it doesn't change anything !


(https://ae.amigalife.org/index.php?action=dlattach;topic=1130.0;attach=4962;image)
Title: Re: RNOXfer (S)FTP(S) client
Post by: jPV on May 23, 2023, 12:28:48 PM
I tried adding new and saving, but nothing is saved
Did it create ENVARC:Hollywood/com.wmhost.jpv.rnoxfer file and do you see the server in it?


Quote
AROS One has WBRun and all file types are associated with a Def_Icon, I have created many Datatype descriptors that do not exist on MOS and OS4, and AROS One recognizes many types of audio, video and many other file formats, and each has a custom icon with custom tool.
Is this only AROS One feature or does all AROS distributions and basic installations come with it? I'll have to think all options when deciding the default settings.

But in your case you can change the Viewer setting to WBRun and it should work with all file types then.


Quote
JPG images display them fine with Multiview, no problem
Weird... well, we need more testing.


Quote
Found a serious problem, when I exit RNOXfer, even if I do not perform any operation, if I click on any Volume Icons (more frequently with Disk Ram) on Wanderer I get a GURU
I think that there might be some issues with AmiSSL port... when I tried it, AmiSSL crashed with some internal error with FTPS sites, but then suddenly it started working. Maybe there's some memory handling issue in it...
Title: Re: RNOXfer (S)FTP(S) client
Post by: jPV on May 23, 2023, 12:34:04 PM
Ok now it works the links are saved correctly, but from the menu I see only one, where am I wrong ?
Those popup button servers are cached from the current session, they're not related to Server List.

Quote
By WBRUN, you mean I have to run RNOXfer from a script with WBRUN? tried it doesn't change anything !
No, just configure the "Settings -> General -> Viewer" to "C:WBRun" and it should open double-clicked files like clicked from the desktop then.
Title: Re: RNOXfer (S)FTP(S) client
Post by: AMIGASYSTEM on May 23, 2023, 12:45:49 PM

Quote
By WBRUN, you mean I have to run RNOXfer from a script with WBRUN? tried it doesn't change anything !
No, just configure the "Settings -> General -> Viewer" to "C:WBRun" and it should open double-clicked files like clicked from the desktop then.

Indeed it works, I had got there by reading the PDF, thanks for the info, I didn't know WBRun had this function, perfect !


(https://ae.amigalife.org/index.php?action=dlattach;topic=1130.0;attach=4964;image)
Title: Re: RNOXfer (S)FTP(S) client
Post by: jPV on May 23, 2023, 12:57:15 PM

Quote
By WBRUN, you mean I have to run RNOXfer from a script with WBRUN? tried it doesn't change anything !
No, just configure the "Settings -> General -> Viewer" to "C:WBRun" and it should open double-clicked files like clicked from the desktop then.

Indeed it works, I had got there by reading the PDF, thanks for the info, I didn't know WBRun had this function, perfect !
Does the JPEG work now with WBRun?
Title: Re: RNOXfer (S)FTP(S) client
Post by: AMIGASYSTEM on May 23, 2023, 02:28:18 PM
Does the JPEG work now with WBRun?

Guru with JPG images happens even if you use WBRun

The Guru could be related, to the same Guru that happens when you open volume on Wanderer, after exiting RNOXferù

I noticed that by increasing the Stack considerably, a JPG image is seen correctly, clicking on a second jpg image, the Guru appears again.

With high Stack even with the Guru caused by opening volumes, it does not happen right away, but only after multiple attempts
Title: Re: RNOXfer (S)FTP(S) client
Post by: Amiwell on May 23, 2023, 02:48:42 PM
in my real system this release does not work the start of the program causes a forced reset
Title: Re: RNOXfer (S)FTP(S) client
Post by: jPV on May 23, 2023, 03:03:52 PM
in my real system this release does not work the start of the program causes a forced reset
You have AmiSSL installed correctly? Can you see what is it doing as the last thing before the reset with Snoopdos or similar, or is it just too quick?
Title: Re: RNOXfer (S)FTP(S) client
Post by: AMIGASYSTEM on May 23, 2023, 03:09:16 PM
jPV, I confirm, on native PC RNOXfer does not start, as soon as you click it the Guru opens, but no reboot

I used the same system I use on VMware !

On AROS there is no Snoopdos but there are Sashimi/Snoopy which are similar to snoopdos
Title: Re: RNOXfer (S)FTP(S) client
Post by: Amiwell on May 23, 2023, 03:22:12 PM
I tried to insert the cli command in the tooltype but nothing as soon as start the program restarts the computer
Title: Re: RNOXfer (S)FTP(S) client
Post by: AMIGASYSTEM on May 23, 2023, 03:52:44 PM
Can you see what is it doing as the last thing before the reset with Snoopdos or similar, or is it just too quick?

I took a screenshot of the Guru appearing on AROS x86 Native PC (Acer Aspire One z5, Video Card and WiFi Card supported da AROS), as soon as you click on the RNOXfer icon, I have no reboot !


(https://ae.amigalife.org/index.php?action=dlattach;topic=1130.0;attach=4966;image)
Title: Re: RNOXfer (S)FTP(S) client
Post by: jPV on May 24, 2023, 02:08:26 AM
Please re-download the archive (https://jpv.amigaaa.com/RNOXfer/beta/RNOXfer_AROS_beta_nodistribute.lha) and then remove the hurl.hwp from use from both the program directory and if you have it in Libs:Hollywood/ too. You can rename it to "hurl.hwp-", for example.

This version will work without the hurl.hwp if you don't try to connect to any site, so if the bug is in AmiSSL or hURL, the program should be usable otherwise. This will tell us if the issue is in my code or in the network code by others.

If the program seems to work without the hurl.hwp file, put the hurl.hwp back in use again and start the program with the -debug option. What does it output after "Loading hURL." line?

And AMIGASYSTEM, do JPEGs work if you open them from local files (left side listview), does it bug only if there are file transfers involved?
Title: Re: RNOXfer (S)FTP(S) client
Post by: AMIGASYSTEM on May 24, 2023, 04:58:21 AM
This new beta seems to have no problem with el JPG images, no guru appeared, displayed many images, images are located left side window, tried both from SYS path, and RAM

No problem with jpg images even if I delete "hurl.hwp"

Guru remains when I close RNOXfer and click on a volume on Workbench, more frequent if I clocco on RAM Disk.

RNOXfer does not access the preset FPT site even without "hurl.hwp"


Found another problem, if on the "Local" Tab I type the volume or directory name, everything works normally, but if I use the button to open the File Request, RNOXfer generates error, see screenshot


(https://ae.amigalife.org/index.php?action=dlattach;topic=1130.0;attach=4968;image)
Title: Re: RNOXfer (S)FTP(S) client
Post by: Amiwell on May 24, 2023, 05:56:13 AM
Now the program starts without problems but when I connect to my cloud ftp it resets the computer

(https://i.ibb.co/hBbngTJ/rnoxfer.jpg)
Title: Re: RNOXfer (S)FTP(S) client
Post by: jPV on May 24, 2023, 07:23:35 AM
This new beta seems to have no problem with el JPG images, no guru appeared, displayed many images, images are located left side window, tried both from SYS path, and RAM

No problem with jpg images even if I delete "hurl.hwp"
Good. What about if you have the hurl.hwp file and connect to a server and display jpeg images from the right side list?


Quote
Guru remains when I close RNOXfer and click on a volume on Workbench, more frequent if I clocco on RAM Disk.
This was without the hurl.hwp file?


Quote
RNOXfer does not access the preset FPT site even without "hurl.hwp"
It can't access any site without hurl.hwp. The hurl.hwp is required for connecting FTP sites, but this test without hurl.hwp was if the underlying issue is in the GUI or in hurl/amissl.

You still should be able to connect to sites when you have the hurl.hwp file there, or can't you?


Quote
Found another problem, if on the "Local" Tab I type the volume or directory name, everything works normally, but if I use the button to open the File Request, RNOXfer generates error, see screenshot
Are you sure you got that error with that button? I can't reproduce it with my AROS One setup (from the last year). The problem with the Local path seems to be that it doesn't update list contents unless you do a manual refresh with the rightmost button. Seems that Popdrawer's Acknowledge notification doesn't work with Zune.

But I got your "triggervalue" error reproduced with the Host address and Remote path poplist buttons. Maybe you remember it wrong and it was either of these? In any case the Acknowledge notification for Poplist seems to be broken in Zune too. There are two bugs in it, first pressing the enter key doesn't trigger a notification, and secondly if you use the popup button, it doesn't return the trigger value at all.

I think someone should fix these in Zune, but I can make a work-around for the triggervalue error, but can't do anything for missing notifications (unless these have been fixed recenly and I'd have to update my setup).
Title: Re: RNOXfer (S)FTP(S) client
Post by: jPV on May 24, 2023, 07:27:08 AM
Now the program starts without problems but when I connect to my cloud ftp it resets the computer
Sounds like a bug in AmiSSL port for me... or in hURL, but earlier crashlog from AMIGASYSTEM would probably point to AmiSSL port...

Does the basic FTP to Aminet crash too? Can you run the program with the "-debug" option from the shell?
Title: Re: RNOXfer (S)FTP(S) client
Post by: AMIGASYSTEM on May 24, 2023, 09:13:00 AM
Good. What about if you have the hurl.hwp file and connect to a server and display jpeg images from the right side list?

If you click on a right jpg image you get a guru, this happens even if the image is downloaded to the left window.


Quote
This was without the hurl.hwp file?

Yes the guru when opening a volume appears both if hurl.hwp is present and if hurl.hwp is not present

Quote
You still should be able to connect to sites when you have the hurl.hwp file there, or can't you?

Yes with this new beta with hurl.hwp, FTP connection works fine on VmWar

On real PC and AROS native with this beta you can run RNOXfer, but it goes to Guru as soon as you try to browse FTP site (preset)

Quote
Are you sure you got that error with that button? I can't reproduce it with my AROS One setup (from the last year).

I confirm on AROS One v1.9, the Guru problem when choosing volume via button does not exist, on AROS One 2.0 there was a Core update, I should ask a "deadwood", from what I see from "Sashimi" moniitoring, the last library used is dos.library
Title: Re: RNOXfer (S)FTP(S) client
Post by: Amiwell on May 24, 2023, 04:24:40 PM
Now the program starts without problems but when I connect to my cloud ftp it resets the computer
Sounds like a bug in AmiSSL port for me... or in hURL, but earlier crashlog from AMIGASYSTEM would probably point to AmiSSL port...

Does the basic FTP to Aminet crash too? Can you run the program with the "-debug" option from the shell?

I can not do the debug probable you that hurl plugin has problems aget for example works with amissl, also with the Aminet server you reset the system
Title: Re: RNOXfer (S)FTP(S) client
Post by: jPV on May 25, 2023, 11:49:56 AM
I installed AROS One 2.0 on VMWare, and now I can reproduce the crash when double-cliking volume icons on the desktop after quitting RNOXfer, but I can only reproduce it if I have connected to a site. If I just launch RNOXfer and quit it, then it doesn't happen. I need to launch RNOXfer and click the Connect button and quit, then it crashes. Maybe some memory trashing from hurl/amissl?

There's yet another issue with Zune... contextual menus (RMB on listviews) don't seem to work, nothing happens whatever you select from there. It seems that you don't get ContextMenuTrigger events with Zune at all... I have no ideas how to make a work-around for that.
Title: Re: RNOXfer (S)FTP(S) client
Post by: AMIGASYSTEM on May 25, 2023, 12:13:55 PM
I also suspect it is a RAM problem, in fact the RAM Disk is the one most prone to Guru.

Strange that this happens because of AmiSSL, I have tried Aget to download a file from an https site, also tried AmiFox, and no Guru appears when you open a volume.

Strange also that with the old core this does not happen !

jPV, in the attached link there is a more updated version of "Muimaster.library", nothing should change, maybe it can give you some help

https://ae.amigalife.org/index.php?topic=1063.405


If you have to vare some monitoring on AROS One, if you don't know how "Sashimi" works, just ask
Title: Re: RNOXfer (S)FTP(S) client
Post by: Amiwell on May 25, 2023, 06:56:07 PM
FTP share works with Icaros Desktop and Magellan
Title: Re: RNOXfer (S)FTP(S) client
Post by: jPV on May 26, 2023, 12:54:25 AM
Strange that this happens because of AmiSSL, I have tried Aget to download a file from an https site, also tried AmiFox, and no Guru appears when you open a volume.

Strange also that with the old core this does not happen !
It's not strange in case of memory trashing, because you never know what other data there is on the memory area that gets trashed. With the old core there might be something else in that area, and that would break something else and show up completely different place. Sometimes memory can get trashed on harmless unused area and then nothing breaks/crashes, but the trashing is still there and it's about pure luck if it doesn't crash anything, and it will crash something sooner or later when you use system more. It's also about what memory areas are allocated by the program in question or other software etc. So Aget might not give visible issues because it might trash different area of the memory. But with good debug/memory tracking programs you should be able to catch these kinds of bugs. But I haven't familiarized myself with such software on AROS, and thus blaming AmiSSL is still a pure guess.


Quote
jPV, in the attached link there is a more updated version of "Muimaster.library", nothing should change, maybe it can give you some help

If you have to vare some monitoring on AROS One, if you don't know how "Sashimi" works, just ask
Ok, will try at some point. I haven't used Sashimi ever, so please give a quick guide how to run it to save my time.
Title: Re: RNOXfer (S)FTP(S) client
Post by: AMIGASYSTEM on May 26, 2023, 02:01:11 AM
Actually Sashimi by itself doesn't work, before running "Sashimi", you have to run "Snoopy" which is for the settingsim by Sashimi, then you can iconify Snoopy, done that once you run Sashimi it will open a Shell and it will work like Snoopdos.

To be honest I am not familiar with these tools either, I discovered them in my time of need, there is also a third debugging tool in the "System/Debug" folder it is called "Bifteck", I don't know how it works.

The icons to start "Sashimi" and ""Snoopy"" you also find them on the bar on Amistart !