conect sqlite in ftp

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
jairpinho
Posts: 315
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Has thanked: 3 times
Been thanked: 10 times
Contact:

conect sqlite in ftp

Post by jairpinho » 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, 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: 463
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland
Has thanked: 135 times
Been thanked: 379 times

Post by edk » Mon Jul 15, 2019 2:26 pm

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

Post by dragancesu » Mon Jul 15, 2019 4:35 pm

+1

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

Post by vagblad » Wed Jul 17, 2019 8:34 am

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

Post by danielmaximiliano » Fri Jul 19, 2019 11:59 pm

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