Search found 107 matches

by matthiasr
Wed Jun 17, 2020 9:44 pm
Forum: Databases
Topic: Reading MS Access MDB
Replies: 7
Views: 2606

Re: Reading MS Access MDB

Simon, you could connect to your .mdb file from Livecode using ODBC. For Mac OS Actualtech is offering an ODBC driver for Access. Currently only select and join is supported. Insert and update are not supported. Password protected databases are also not yet supported. There is a full functioning dri...
by matthiasr
Tue Jun 16, 2020 7:40 pm
Forum: Internet
Topic: Get FileList on Remote PC via SFTP
Replies: 24
Views: 1409

Re: Get FileList on Remote PC via SFTP

But ...when i use : put "sftp://pi:Wuppertal2019@192.168.178.31/home/michael/" into Adresse1 put URL Adresse1 into fld "Testausgabe" i get a detailed file List from my home Folder with Information about write/read Permissions on each file. You could also use tsNetGet function to get the filelisting...
by matthiasr
Sat Jun 13, 2020 5:32 pm
Forum: Internet
Topic: Get FileList on Remote PC via SFTP
Replies: 24
Views: 1409

Re: Get FileList on Remote PC via SFTP

Is it possible to install the new Version of TSNet on my Ubuntu 18.04 or MacOS System? You could also use the following links to download the complete 1.4.2 If you have a Business license use this link https://downloads.livecode.com/tsNet/tsNet_Business_1.4.2.zip If you have an Indy License then us...
by matthiasr
Sat May 30, 2020 11:44 am
Forum: Databases
Topic: TimeStamp format conversion
Replies: 12
Views: 3417

Re: TimeStamp format conversion

In line 14 there is a typo

Code: Select all

  delet char 9 to 11 of pTime
should be

Code: Select all

  delete char 9 to 11 of pTime
by matthiasr
Wed May 27, 2020 4:26 pm
Forum: CGIs and the Server
Topic: Install Livecode Server on Windows with Windows Server 2016
Replies: 6
Views: 469

Re: Install Livecode Server on Windows with Windows Server 2016

Please excuse, thought you would know the abbreviation.

IIS is the Microsoft Internet Information Server which acts as web server.
by matthiasr
Wed May 27, 2020 12:54 pm
Forum: CGIs and the Server
Topic: Install Livecode Server on Windows with Windows Server 2016
Replies: 6
Views: 469

Re: Install Livecode Server on Windows with Windows Server 2016

Do you need to run IIS as web server? If not i really recommend to install Apache, PHP, MariaDB using Xamp and then install Livecode Server.
by matthiasr
Tue May 26, 2020 10:13 pm
Forum: CGIs and the Server
Topic: Install Livecode Server on Windows with Windows Server 2016
Replies: 6
Views: 469

Re: Install Livecode Server on Windows with Windows Server 2016

I am not sure if it is still possible with IIS. I´ve done an installation long time ago on a 2003 Server. But if you do not need to rely on IIS you could install apache on Server 2016 to use with Livecode Server. For a first test you could use XAMPP from Apache Friends. It´s an all-in-all package wi...
by matthiasr
Mon May 25, 2020 11:18 am
Forum: Internet
Topic: Get FileList on Remote PC via SFTP
Replies: 24
Views: 1409

Re: Get FileList on Remote PC via SFTP

@Michael
Tried the sample stack here also with my Synology NAS. Same result.

Upload / Download works, file listing not.

I should have some working code somewhere. Will have a look later after lunch.
by matthiasr
Mon May 25, 2020 8:47 am
Forum: Internet
Topic: Get FileList on Remote PC via SFTP
Replies: 24
Views: 1409

Re: Get FileList on Remote PC via SFTP

At least i tried this : local rResult, tCmds, rBytes, pSettings put "ls" into tCmds tsNetInit put "pi" into pSettings["username"] put "Wuppertal2019" into pSettings["password"] tsNetSendCmdSync( "sftp://192.168.178.31", tCMDs, rResult, rBytes, pSettings) answer the result put rResult into fld "Ausg...
by matthiasr
Mon May 25, 2020 7:46 am
Forum: Internet
Topic: Get FileList on Remote PC via SFTP
Replies: 24
Views: 1409

Re: Get FileList on Remote PC via SFTP

I am not sure if that is the problem, but there is a blank between ( and "sftp:..../b] tsNetSendCmdSync( "sftp://192.168.178.31", tCMDs, rResult, rBytes, pSettings) Btw. did you try to connect using FTP already? Just to make sure there is no other problem with SFTP? if not, could you try just put UR...
by matthiasr
Sun May 24, 2020 6:57 pm
Forum: Internet
Topic: Get FileList on Remote PC via SFTP
Replies: 24
Views: 1409

Re: Get FileList on Remote PC via SFTP

Btw a simple put url "sftp://pi:Wuppertal2019@192.168.178.3/" should give you also the file listing. You can even add foldernames put url "sftp://pi:Wuppertal2019@192.168.178.3/public_html/" And of course, if your ftp/sftp server is running on an other port than 21(ftp) / 22 (sftp) then you have to ...
by matthiasr
Sun May 24, 2020 6:45 pm
Forum: Internet
Topic: Get FileList on Remote PC via SFTP
Replies: 24
Views: 1409

Re: Get FileList on Remote PC via SFTP

The parameters for the sync one are not the same. tsNetSendCmd(pConnectionID, pURL, pCommand, pCallback, [pSettings]) tsNetSendCmdSync(pURL, pCommand, rResult, rBytes, [pSettings]) So in your case you should try this: put "pi" into pSettings["username"] put "Wuppertal2019" into pSettings["password"]...
by matthiasr
Sun May 24, 2020 5:44 pm
Forum: Internet
Topic: Get FileList on Remote PC via SFTP
Replies: 24
Views: 1409

Re: Get FileList on Remote PC via SFTP

Michael, Although the dictionary shows both tsNetSendCmdSync and tsNetSendCmd to be available in Indy license. My understanding was that only the synchronous commands/functions (if 2 similar command/functions are available) of tsNet were available in Indy license. I could be wrong, but could you try...
by matthiasr
Sat May 23, 2020 8:23 pm
Forum: Internet
Topic: How to make a PUT command [Solved]
Replies: 5
Views: 421

Re: How to make a PUT command

Marco, it´s difficult to say what is going wrong, if you do not post a sample of your code. I am no expert in webservices, but tsNetCustomUploadSync or tsNetCustomUpload should do This is for tsNEtCustomUploadSync tsNetCustomUploadSync(pURL, pRequest, xHeaders, pData, rOutHeaders, rResult, rBytes, [...
by matthiasr
Sun May 03, 2020 3:55 pm
Forum: Talking LiveCode
Topic: Shared Hosting (Solved)
Replies: 58
Views: 3645

Re: Shared Hosting

The tutorial and the downloadable file are provided by HostM, who is indeed offering Webhosting. But you can use the tutorial and their scripts for free on every server you want. You don‘t have to subscribe to any of HostM‘s services. So in your case, you could install the free Livecode Server on yo...

Go to advanced search