conect sqlite in ftp

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
jairpinho
Posts: 353
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Has thanked: 3 times
Been thanked: 11 times
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: 542
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland
Has thanked: 143 times
Been thanked: 474 times

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: 749
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia
Has thanked: 27 times
Been thanked: 179 times

Post by dragancesu »

+1

User avatar
vagblad
Posts: 123
Joined: Tue Jun 18, 2013 12:18 pm
DBs Used: MySQL,DBF
Location: Thessaloniki, Greece
Has thanked: 18 times
Been thanked: 24 times

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: 2218
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 246 times
Been thanked: 39 times
Contact:

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
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`.HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. : +54901169026142
Telegram Name : DaNiElMaXiMiLiAnO

Post Reply