Search found 24 matches

by MichaelS
Sun Jun 05, 2022 7:51 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: share option
Replies: 11
Views: 6087

Re: share option

Hi Andresdt, thank you very much for sharing your Code Example. I had the same Problem and i did not found a Solution for this before. Your Code works well on my Samsung Android Mobile Device , so i can extend my Shopping List App with this "Share List with Whatsapp" Function. Thank you again and Gr...
by MichaelS
Thu Jun 25, 2020 6:20 pm
Forum: Internet
Topic: mp3 Download via tsnetgetSync
Replies: 2
Views: 3122

Re: mp3 Download via tsnetgetSync

Hi bangkok,
yes that was the Problem. With binfile it works.

Thank you for fast reply.
Michael
by MichaelS
Thu Jun 25, 2020 4:34 pm
Forum: Internet
Topic: mp3 Download via tsnetgetSync
Replies: 2
Views: 3122

mp3 Download via tsnetgetSync

Hello, i am trying to download an audio file in mp3 quality with tsnetgetSync Command. The Code is simple : on mouseUp local tRequestHeaders, tResponseHeaders, tResult, tBytes, tData local tSettings, tCharNo, tUrl, tProxyUrl put field "sftp_url" into tUrl put field "sftp_username" into tSettings["us...
by MichaelS
Tue Jun 16, 2020 4:44 pm
Forum: Internet
Topic: Get FileList on Remote PC via SFTP
Replies: 24
Views: 16640

Re: Get FileList on Remote PC via SFTP

Hello Matthias, i followed your Rules and put the new downloaded tsNet_Indy1.4.2 Folder on my Linux opt folder where the EXTensions are located (Ofcouse i removed the old Version). I made a new Standalone of the sample_sync_stack and i have the same result. Upload and Download via sftp is working, g...
by MichaelS
Thu Jun 11, 2020 12:13 pm
Forum: Internet
Topic: Get FileList on Remote PC via SFTP
Replies: 24
Views: 16640

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?
by MichaelS
Sat Jun 06, 2020 10:55 am
Forum: Linux
Topic: Removing of old Livecode Versions on Ubuntu 18.04
Replies: 3
Views: 3965

Re: Removing of old Livecode Versions on Ubuntu 18.04

Hello bogs,
thank you for fast reply. It worked and it is a very easy Solution.
I really did not knew that Way...

Thank you
and best regards
Michael
by MichaelS
Sat Jun 06, 2020 7:29 am
Forum: Linux
Topic: Removing of old Livecode Versions on Ubuntu 18.04
Replies: 3
Views: 3965

Removing of old Livecode Versions on Ubuntu 18.04

Hi all,
does anybody know how can i remove old Livecode Versions
from my Ubuntu 18.04 XFCE System?

With:
dpkg --list
i can not find Livecode Progs...

and it is not shown in the Software Center. So what should i do ?
by MichaelS
Thu May 28, 2020 6:54 pm
Forum: Internet
Topic: Get FileList on Remote PC via SFTP
Replies: 24
Views: 16640

Re: Get FileList on Remote PC via SFTP

Hello again,
i found a Solution to get the Directory. Not with SFTP but it is working...

Code: Select all

on mouseUp
   put shell("ssh pi@192.168.178.31 ls /home/pi & exit") into fld "Ausgabe"-- returns a listing of the remote dir on Unix
end mouseUp
Best Regards
and stays healthy
Michael
by MichaelS
Mon May 25, 2020 2:29 pm
Forum: Internet
Topic: Get FileList on Remote PC via SFTP
Replies: 24
Views: 16640

Re: Get FileList on Remote PC via SFTP

Okay, thanks a lot for the Information. I thought it was
my mistake.

Regards
Michael
by MichaelS
Mon May 25, 2020 10:51 am
Forum: Internet
Topic: Get FileList on Remote PC via SFTP
Replies: 24
Views: 16640

Re: Get FileList on Remote PC via SFTP

Hi, thanks for the Sample Stack. Upload/Download is working without Problems. SFTP DirList Example is not working. I did test it on my Raspberry and although on my Root Server, on Linux PC and on my MacBook. The Error Message is the same : Error tsneterr: (79) Error in the SSH layer returned from Se...
by MichaelS
Mon May 25, 2020 8:49 am
Forum: Internet
Topic: Get FileList on Remote PC via SFTP
Replies: 24
Views: 16640

Re: Get FileList on Remote PC via SFTP

I removed the Blank between the ( and " , it has no effect.

FTP Connection is although at the Terminal not working.
The Message is : ftp: pi@192.168.178.31: Name or service not known

I tried it in LC out but nothing happen, no Result.
by MichaelS
Mon May 25, 2020 7:41 am
Forum: Internet
Topic: Get FileList on Remote PC via SFTP
Replies: 24
Views: 16640

Re: Get FileList on Remote PC via SFTP

Good morning, @Sparkout : The Raspi is not reachable extern, it is only to Test the sftp-Connection. The Code will be used to Connect an Android System with my rented Root Server, and i will not make public this Passwords. But Thanks for the Tip. @ matthiasr : (Sorry for changing Sftp with ftp, i tr...
by MichaelS
Sun May 24, 2020 6:36 pm
Forum: Internet
Topic: Get FileList on Remote PC via SFTP
Replies: 24
Views: 16640

Re: Get FileList on Remote PC via SFTP

Hi Matthias,
i changed the tsnet command to tsNetSendCmdSync . The Result is :


execution error at line n/a (External handler execution error: parameter 'pBytes' is not a variable) near "parameter 'pBytes' is not a variable"

I do not know what i have to change in this Expression...

Regards
Michael
by MichaelS
Sun May 24, 2020 5:31 pm
Forum: Internet
Topic: Get FileList on Remote PC via SFTP
Replies: 24
Views: 16640

Re: Get FileList on Remote PC via SFTP

Hello again, i added the init Code : on mouseUp local tResult, tCmds put "ls" into tCmds tsNetInit put tsNetSendCmd("1", "ftp://pi:Wuppertal2019@192.168.178.31", tCmds,"transferComplete") into tResult answer the result put tResult into fld "Ausgabe" tsNetCloseConn "1" end mouseUp it is opening the a...
by MichaelS
Sun May 24, 2020 4:29 pm
Forum: Internet
Topic: Get FileList on Remote PC via SFTP
Replies: 24
Views: 16640

Re: Get FileList on Remote PC via SFTP

Yes, offcourse i can !
Do you have any Idea?

Michael

Go to advanced search