Simple server connection?...
Posted
#1
(In Topic #1433)
Regular

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.
Posted
Regular

Posted
Administrator

Some places to start you journey if you want to use ftp (as seen on your posted screenshot):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?
- /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!
- 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!
Posted
Expert

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
I code therefore I am
Posted
Guru

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.
1 guest and 0 members have just viewed this.


