conect sqlite in ftp

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

conect sqlite in ftp

Post by jairpinho »

Hi, I'm working on ftp, I've checked several example tests but I have not tried it, I need to list the files inside a folder on an ftp server and connect to one of them, the second function is to connect directly to an sqlite file on an ftp server, I know what I need to use in IDE to work with ftp, as I found post about being needed a dll walks .ch files, in setup in ide using libs = hbcurl?
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
edk
Posts: 909
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: conect sqlite in ftp

Post by edk »

Honestly, I do not really know how you want to connect to a sqlite file on an FTP server?
FTP rather does not allow direct work with the file, but only serves to exchange files between the server and the client. Typical operations are: list, upload, download, rename, delete, etc.
Unless you want to download the file from the FTP server, locally handle it, and send it back to FTP.
User avatar
dragancesu
Posts: 920
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: conect sqlite in ftp

Post by dragancesu »

+1
User avatar
vagblad
Posts: 160
Joined: Tue Jun 18, 2013 12:18 pm
DBs Used: MySQL,DBF
Location: Thessaloniki, Greece

Re: conect sqlite in ftp

Post by vagblad »

Unless i am mistaken your only good bet is to download the file in the background and then do whatever you want with it. If you want it only for reading purposes you can delete the file instantly if not, you apply the changes to the local file and then reupload it to ftp. But the whole write procedure has lots of dangers. Ftp protocol doesnt allow "direct" connect to a file, as EDK said it only serves for exchange purposes.
Vagelis Prodromidis
Email: vagblad@gmail.com, Skype: vagblad
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: conect sqlite in ftp

Post by danielmaximiliano »

jairpinho wrote: Mon Jul 15, 2019 12:32 am Hi, I'm working on ftp, I've checked several example tests but I have not tried it, I need to list the files inside a folder on an ftp server and connect to one of them
http://www.marinas-tools.com.ar/index. ... o&Itemid=7
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Post Reply