Simple server connection?...

Ask about the individual Gambas components here.
Post Reply
chrisRoald
Newbie
Posts: 47
Joined: Mon Dec 25, 2023 7:54 pm

Simple server connection?...

Post by chrisRoald »

Hi,
Just looking to see if anyone has created a server-connection form/control that can display public_html folder files in maybe the way that a fileChooser does?
What I know about servers and domains can be written on a postage-stamp (remember them?) so I may be asking a really dumb thing here :? ~~
My laptop's fm - Nemo (based on Nautilus, I think) can connect to my domain-name server with the requisite sftp/webDav server and user parameters entered. So I want to know if my Gambas program can do a similar thing?

Any help gratefully...
Regards,
C.
chrisRoald
Newbie
Posts: 47
Joined: Mon Dec 25, 2023 7:54 pm

Re: Simple server connection?...

Post by chrisRoald »

Screenshot from 2025-03-11 15-41-40.png
You do not have the required permissions to view the files attached to this post.
User avatar
gbWilly
Site Admin
Posts: 151
Joined: Fri Sep 23, 2016 11:41 am
Location: Netherlands
Contact:

Re: Simple server connection?...

Post by gbWilly »

chrisRoald wrote: Tue Mar 11, 2025 3:08 pm My laptop's fm - Nemo (based on Nautilus, I think) can connect to my domain-name server with the requisite sftp/webDav server and user parameters entered. So I want to know if my Gambas program can do a similar thing?
Some places to start you journey if you want to use ftp (as seen on your posted screenshot):
- https://gambaswiki.org/wiki/comp/gb.net.curl (syntax documentation)
- https://gambaswiki.org/wiki/doc/network (some general info on networking and gambas can be read at)
- https://gambas-buch.de/dwen/doku.php?id ... .2.3:start (practical explanation with example code)

You might find some example applications on how to use ftp (I haven't checked myself) on the Gambas Farm (start IDE for that).
I do use network programming in some of my applications, but so far never used ftp as I rsync my data using SSH and authetication keys.

Some general understanding of networking, client/server concepts and network protocols like FTP (File Transfer Protocol) will be useful in understanding what you try to achieve.

And if all above doesn't help, we will read it.
gbWilly
- Dutch translation for Gambas3
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- Gambas3 Debian/Ubuntu repositories

- GambOS

... there is always a Catch if things go wrong!
User avatar
Quincunxian
Regular
Posts: 196
Joined: Sun Jun 25, 2017 12:14 am
Location: Western Australia
Contact:

Re: Simple server connection?...

Post by Quincunxian »

So something like FileZilla ( Non Gambas) might be a good example of the capabilities you are after.
Ian Rendell - u996779414@ianrendell.com - FileZilla_001.png
The image is a of my remote website - I've wanted to do this in native Gambas for some time but have always chosen the easier (lazy) path of using Filezilla.
You do not have the required permissions to view the files attached to this post.
Cheers - Quin.
I code therefore I am
BruceSteers
Legend
Posts: 2081
Joined: Thu Jul 23, 2020 5:20 pm
Location: Isle of Wight

Re: Simple server connection?...

Post by BruceSteers »

check out gbftp on the software farm.

FTP involves sending a LIST command to the server socket and reading the results back.

In filezilla when you click a folder on the server you can see all the commands being sent/recived in the log view.
Post Reply