Simple server connection?...

Post

Posted
Rating:
#1 (In Topic #1433)
Regular
chrisRoald is in the usergroup ‘Regular’
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.
Online now: No Back to the top

Post

Posted
Rating:
#2
Regular
chrisRoald is in the usergroup ‘Regular’
Image

(Click to enlarge)

Online now: No Back to the top

Post

Posted
Rating:
#3
Avatar
Administrator
gbWilly is in the usergroup ‘unknown’

chrisRoald said

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):
- /comp/gb.net.curl - Gambas Documentation (syntax documentation)
- /doc/network - Gambas Documentation (some general info on networking and gambas can be read at)
- k24:k24.2:k24.2.3:start [GAMBAS BOOK 3.19.5] (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
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories


… there is always a Catch if things go wrong!
Online now: No Back to the top

Post

Posted
Rating:
#4
Avatar
Expert
Quincunxian is in the usergroup ‘Expert’
So something like FileZilla ( Non Gambas) might be a good example of the capabilities you are after.
Image

(Click to enlarge)


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.

Cheers - Quin.
I code therefore I am
Online now: No Back to the top

Post

Posted
Rating:
#5
Guru
BruceSteers is in the usergroup ‘Guru’
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.
Online now: No Back to the top
1 guest and 0 members have just viewed this.