Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

One man's constant is another man's variable. -- A. J. Perlis


devel / comp.lang.clipper.visual-objects / Re: SFTP

SubjectAuthor
* Re: SFTPRüdiger Fresemann
`* Re: SFTPGerhard Bunzel
 `* Re: SFTPRüdiger Fresemann
  `* Re: SFTPGerhard Bunzel
   +- Re: SFTPRüdiger Fresemann
   `* Re: SFTPRüdiger Fresemann
    `* Re: SFTPGerhard Bunzel
     `* Re: SFTPRüdiger Fresemann
      `- Re: SFTPGerhard Bunzel

1
Re: SFTP

<j4dq0cFu1g0U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1011&group=comp.lang.clipper.visual-objects#1011

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ruediger.fresemann@t-online.de (Rüdiger Fresemann)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: SFTP
Date: Fri, 14 Jan 2022 18:25:35 +0100
Lines: 11
Message-ID: <j4dq0cFu1g0U1@mid.individual.net>
References: <hndhpeFeg3dU1@mid.individual.net>
<da8ba5e2-db76-402e-93f6-9e618a0e181bo@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net a+wLjrBsjdVBClEp5YjizQ+aFklvFNNjJBr47xtplHaLeylY5f
Cancel-Lock: sha1:HsFNtuE4lho6CQSmDmUiPytmSuM=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.2
In-Reply-To: <da8ba5e2-db76-402e-93f6-9e618a0e181bo@googlegroups.com>
 by: Rüdiger Fresemann - Fri, 14 Jan 2022 17:25 UTC

Am 20.07.2020 um 13:57 schrieb Stavros Spanos:
> Ruediger hello!
>
> We use FTP2 ocx from Chillcat.
>
> http://www.chilkatsoft.com/default.asp
>
.... By the way... I think it is not usable for commercial, is it?
I need a solution for my customers, not for me alone...

Ruediger

Re: SFTP

<00bb65b4-6852-4f9a-9081-70c25d8e6ac2n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1012&group=comp.lang.clipper.visual-objects#1012

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:6214:da8:: with SMTP id h8mr2248535qvh.47.1642234395907;
Sat, 15 Jan 2022 00:13:15 -0800 (PST)
X-Received: by 2002:ad4:5dc5:: with SMTP id m5mr7710777qvh.9.1642234395745;
Sat, 15 Jan 2022 00:13:15 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Sat, 15 Jan 2022 00:13:15 -0800 (PST)
In-Reply-To: <j4dq0cFu1g0U1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=93.195.159.230; posting-account=AoONowoAAACH0l2RPl_j6O0JJDlm9SzB
NNTP-Posting-Host: 93.195.159.230
References: <hndhpeFeg3dU1@mid.individual.net> <da8ba5e2-db76-402e-93f6-9e618a0e181bo@googlegroups.com>
<j4dq0cFu1g0U1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <00bb65b4-6852-4f9a-9081-70c25d8e6ac2n@googlegroups.com>
Subject: Re: SFTP
From: gerhard.bunzel@gmail.com (Gerhard Bunzel)
Injection-Date: Sat, 15 Jan 2022 08:13:15 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 26
 by: Gerhard Bunzel - Sat, 15 Jan 2022 08:13 UTC

Hi Rüdiger,

no problem to use Chillcat for a commercial app:

From https://www.chilkatsoft.com/licensingExplained.asp
- The license is royalty-free, meaning that Chilkat redistributables (DLLs and shared libraries) may be included with your application's deployment/installer packages.
- Regardless of the type of license purchased, a Chilkat component can be used in any number of applications, and can be redistributed royalty-free with your applications to end-users.
- Licensing levels are: 1-Developer, Small Group (up to 4-Developers), and Team (up to 8 developers).

I use this dll: https://www.weonlydo.com/SFTPdll/sftp-library-dll.asp
- No need for installation. Copy only the dll file into the application path
- Only 209,- US$ for a developer license.
- Use it in asynchronous mode with events
- 100% royalty free components

Works great!

Best regards

Gerhard Bunzel

Re: SFTP

<j4kt9aFa18iU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1013&group=comp.lang.clipper.visual-objects#1013

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ruediger.fresemann@t-online.de (Rüdiger Fresemann)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: SFTP
Date: Mon, 17 Jan 2022 11:04:25 +0100
Lines: 29
Message-ID: <j4kt9aFa18iU1@mid.individual.net>
References: <hndhpeFeg3dU1@mid.individual.net>
<da8ba5e2-db76-402e-93f6-9e618a0e181bo@googlegroups.com>
<j4dq0cFu1g0U1@mid.individual.net>
<00bb65b4-6852-4f9a-9081-70c25d8e6ac2n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net WkHNhIzDlC2a5DooQLXMwgFsSBImiAtfiMLkzcJFp0iwTH+FCP
Cancel-Lock: sha1:EDt98S/eAupIYN/9MqDXF2XjX8A=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
In-Reply-To: <00bb65b4-6852-4f9a-9081-70c25d8e6ac2n@googlegroups.com>
 by: Rüdiger Fresemann - Mon, 17 Jan 2022 10:04 UTC

Hallo Gerhard,

Hast du vielleicht noch einen Schnipsel für mich?

Am 15.01.2022 um 09:13 schrieb Gerhard Bunzel:
> Hi Rüdiger,
>
> no problem to use Chillcat for a commercial app:
>
> From https://www.chilkatsoft.com/licensingExplained.asp
> - The license is royalty-free, meaning that Chilkat redistributables (DLLs and shared libraries) may be included with your application's deployment/installer packages.
> - Regardless of the type of license purchased, a Chilkat component can be used in any number of applications, and can be redistributed royalty-free with your applications to end-users.
> - Licensing levels are: 1-Developer, Small Group (up to 4-Developers), and Team (up to 8 developers).
>
>
> I use this dll: https://www.weonlydo.com/SFTPdll/sftp-library-dll.asp
> - No need for installation. Copy only the dll file into the application path
> - Only 209,- US$ for a developer license.
> - Use it in asynchronous mode with events
> - 100% royalty free components
>
> Works great!
>
> Best regards
>
> Gerhard Bunzel
>

Re: SFTP

<4adbc412-3664-40b5-bbb7-49fcce0acee6n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1022&group=comp.lang.clipper.visual-objects#1022

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:620a:4449:: with SMTP id w9mr2434886qkp.458.1642767725600;
Fri, 21 Jan 2022 04:22:05 -0800 (PST)
X-Received: by 2002:a05:620a:25cf:: with SMTP id y15mr2438091qko.21.1642767725228;
Fri, 21 Jan 2022 04:22:05 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 21 Jan 2022 04:22:05 -0800 (PST)
In-Reply-To: <j4kt9aFa18iU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=84.190.75.203; posting-account=AoONowoAAACH0l2RPl_j6O0JJDlm9SzB
NNTP-Posting-Host: 84.190.75.203
References: <hndhpeFeg3dU1@mid.individual.net> <da8ba5e2-db76-402e-93f6-9e618a0e181bo@googlegroups.com>
<j4dq0cFu1g0U1@mid.individual.net> <00bb65b4-6852-4f9a-9081-70c25d8e6ac2n@googlegroups.com>
<j4kt9aFa18iU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4adbc412-3664-40b5-bbb7-49fcce0acee6n@googlegroups.com>
Subject: Re: SFTP
From: gerhard.bunzel@gmail.com (Gerhard Bunzel)
Injection-Date: Fri, 21 Jan 2022 12:22:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 316
 by: Gerhard Bunzel - Fri, 21 Jan 2022 12:22 UTC

Hallo Rüdiger,

nachfolgend etwas Code. Der ist nicht schön - zum Testen sollte das aber funktionieren.
Wichtig ist bei den Events anscheinend der Aufruf von DoEvents() um die Nachrichten zu verarbeiten.
Ich hatte das einfach in einer Schleife getestet. In einer richtigen Sftp-Klasse mit den Funktionen würde das natürlich anders aussehen.
Die Funktionsaufrufe ohne die Verarbeitung der Events - einfach die Befehle nacheinander abarbeiten lassen - ist recht einfach und funktioniert gut.

HTH

Gerhard Bunzel

Die DEFINES:
DEFINE wodSFTP_typeDirectory := 0
DEFINE wodSFTP_typeSymlink := 1
DEFINE wodSFTP_typeFile := 2
DEFINE wodSFTP_typeTemporary := 3
DEFINE wodSFTP_typeUnknown := 4
// DirItemTypes

DEFINE wodSFTP_ZoneLocal := 0
DEFINE wodSFTP_ZoneUTC := 1
// TimezonesEnum

DEFINE wodSFTP_Binary := 0
DEFINE wodSFTP_AscII := 1
// TransferModesEnum

DEFINE wodSFTP_PermRead := 1
DEFINE wodSFTP_PermWrite := 2
DEFINE wodSFTP_PermCreate := 4
DEFINE wodSFTP_PermTruncate := 8
// RemotePermissions

DEFINE wodSFTP_Disconnected := 0
DEFINE wodSFTP_Connecting := 1
DEFINE wodSFTP_LogonInProgress := 2
DEFINE wodSFTP_Connected := 3
DEFINE wodSFTP_Receiving := 4
DEFINE wodSFTP_Sending := 5
DEFINE wodSFTP_Executing := 6
DEFINE wodSFTP_AccessingRawFile := 7
// StatesEnum

DEFINE wodSFTP_encAny := 0
DEFINE wodSFTP_encDES := 1
DEFINE wodSFTP_enc3DES := 2
DEFINE wodSFTP_encAES := 3
DEFINE wodSFTP_encBLOWFISH := 4
DEFINE wodSFTP_encAES128 := 5
DEFINE wodSFTP_encAES192 := 6
DEFINE wodSFTP_encAES256 := 7
DEFINE wodSFTP_encCAST128 := 8
DEFINE wodSFTP_encAEScbc := 9
DEFINE wodSFTP_encAESctr := 10
// EncryptionsEnum

DEFINE wodSFTP_authBoth := 0
DEFINE wodSFTP_authPassword := 1
DEFINE wodSFTP_authPubkey := 2
DEFINE wodSFTP_authSecurID := 3
DEFINE wodSFTP_authKeyboardInteractive := 4
DEFINE wodSFTP_authGSSAPI := 5
// AuthenticationsEnum

DEFINE wodSFTP_ProxyNone := 0
DEFINE wodSFTP_ProxySocks4 := 1
DEFINE wodSFTP_ProxySocks5 := 2
DEFINE wodSFTP_ProxyWEBStandard := 3
DEFINE wodSFTP_ProxyRelay := 4
DEFINE wodSFTP_ProxySocks4a := 5
DEFINE wodSFTP_ProxyWEBNtlmAuth := 6
DEFINE wodSFTP_ProxyWEBIntegratedAuth := 8
// ProxyTypes

Die DLL-Functions - nicht vollständig und auch nicht jede Funktion komplett getestet. Die fehlenden Funktionen können damit aber bestimmt selbst erstellt werden.
_DLL FUNCTION Sftp_Create (ptrSftpEventsStruct AS PTR, pszLicenseKey AS PSZ) AS PTR PASCAL:SftpDLL.Sftp_Create
_DLL FUNCTION Sftp_Destroy (ptrSftpDLL AS PTR) AS VOID PASCAL:SftpDLL.Sftp_Destroy
_DLL FUNCTION Sftp_Disconnect (ptrSftpDLL AS PTR) AS LONG PASCAL:SftpDLL.Sftp_Disconnect
_DLL FUNCTION Sftp_GetMyHostname (ptrSftpDLL AS PTR, pszBuffer AS PSZ, nSize REF LONG) AS LONG PASCAL:SftpDLL.Sftp_GetMyHostname
_DLL FUNCTION Sftp_GetMyIP (ptrSftpDLL AS PTR, pszBuffer AS PSZ, nSize REF LONG) AS LONG PASCAL:SftpDLL.Sftp_GetMyIP
_DLL FUNCTION Sftp_GetVersion (ptrSftpDLL AS PTR, pszBuffer AS PSZ, nSize REF LONG) AS LONG PASCAL:SftpDLL.Sftp_GetVersion
_DLL FUNCTION Sftp_GetBlocking (ptrSftpDLL AS PTR, lValue REF LOGIC) AS LONG PASCAL:SftpDLL.Sftp_GetBlocking
_DLL FUNCTION Sftp_SetBlocking (ptrSftpDLL AS PTR, lValue AS LOGIC) AS LONG PASCAL:SftpDLL.Sftp_SetBlocking
_DLL FUNCTION Sftp_SetHostname (ptrSftpDLL AS PTR, pszBuffer AS PSZ) AS LONG PASCAL:SftpDLL.Sftp_SetHostname
_DLL FUNCTION Sftp_GetPort (ptrSftpDLL AS PTR, nPort REF DWORD) AS LONG PASCAL:SftpDLL.Sftp_GetPort
_DLL FUNCTION Sftp_SetPort (ptrSftpDLL AS PTR, nPort AS DWORD) AS LONG PASCAL:SftpDLL.Sftp_SetPort
_DLL FUNCTION Sftp_SetLogin (ptrSftpDLL AS PTR, pszBuffer AS PSZ) AS LONG PASCAL:SftpDLL.Sftp_SetLogin
_DLL FUNCTION Sftp_Connect (ptrSftpDLL AS PTR) AS LONG PASCAL:SftpDLL.Sftp_Connect
_DLL FUNCTION Sftp_SetPassword (ptrSftpDLL AS PTR, pszBuffer AS PSZ) AS LONG PASCAL:SftpDLL.Sftp_SetPassword
_DLL FUNCTION Sftp_ListAttributes ( ptrSftpDLL AS PTR, pszRemotePath AS PSZ) AS LONG PASCAL:SftpDLL.Sftp_ListAttributes
_DLL FUNCTION Sftp_GetListItem (ptrSftpDLL AS PTR, pszBuffer AS PSZ, nSize REF LONG) AS LONG PASCAL:SftpDLL.Sftp_GetListItem
_DLL FUNCTION Sftp_PutFile (ptrSftpDLL AS PTR, pszLocalFile AS PSZ, pszRemotePath AS PSZ) AS LONG PASCAL:SftpDLL.Sftp_PutFile
_DLL FUNCTION Sftp_GetFile (ptrSftpDLL AS PTR, pszLocalFile AS PSZ, pszRemoteFile AS PSZ) AS LONG PASCAL:SftpDLL.Sftp_GetFile
_DLL FUNCTION Sftp_GetRemotePath (ptrSftpDLL AS PTR, pszBuffer AS PSZ, nSize REF LONG) AS LONG PASCAL:SftpDLL.Sftp_GetRemotePath
_DLL FUNCTION Sftp_SetRemotePath (ptrSftpDLL AS PTR, pszNewPath AS PSZ) AS LONG PASCAL:SftpDLL.Sftp_SetRemotePath
_DLL FUNCTION Sftp_GetLocalPath (ptrSftpDLL AS PTR, pszBuffer AS PSZ, nSize REF LONG) AS LONG PASCAL:SftpDLL.Sftp_GetLocalPath
_DLL FUNCTION Sftp_SetLocalPath (ptrSftpDLL AS PTR, pszNewPath AS PSZ) AS LONG PASCAL:SftpDLL.Sftp_SetLocalPath
_DLL FUNCTION Sftp_GetClientName (ptrSftpDLL AS PTR, pszBuffer AS PSZ, nSize REF LONG) AS LONG PASCAL:SftpDLL.Sftp_GetClientName
_DLL FUNCTION Sftp_SetClientName (ptrSftpDLL AS PTR, pszNewClient AS PSZ) AS LONG PASCAL:SftpDLL.Sftp_SetClientName
_DLL FUNCTION Sftp_MakeDir (ptrSftpDLL AS PTR, pszRemotePath AS PSZ) AS LONG PASCAL:SftpDLL.Sftp_MakeDir
_DLL FUNCTION Sftp_DeleteFile (ptrSftpDLL AS PTR, pszRemoteFile AS PSZ) AS LONG PASCAL:SftpDLL.Sftp_DeleteFile
_DLL FUNCTION Sftp_Abort (ptrSftpDLL AS PTR) AS LONG PASCAL:SftpDLL.Sftp_Abort
_DLL FUNCTION Sftp_GetState (ptrSftpDLL AS PTR, nState REF DWORD) AS LONG PASCAL:SftpDLL.Sftp_GetState
_DLL FUNCTION Sftp_GetStateText (ptrSftpDLL AS PTR, nState AS DWORD, pszBuffer AS PSZ, nSize REF LONG) AS LONG PASCAL:SftpDLL.Sftp_GetStateText
_DLL FUNCTION Sftp_GetErrorText (ptrSftpDLL AS PTR, nErrorCode AS SHORT, pszBuffer AS PSZ, nSize REF LONG) AS LONG PASCAL:SftpDLL.Sftp_GetErrorText
_DLL FUNCTION Sftp_GetLastError (ptrSftpDLL AS PTR, nErrorCode REF SHORT) AS LONG PASCAL:SftpDLL.Sftp_GetLastError
_DLL FUNCTION Sftp_SetTransferMode((ptrSftpDLL AS PTR, nValue AS SHORT) AS LONG PASCAL:SftpDLL.Sftp_SetTransferMode
_DLL FUNCTION Sftp_ListNames ( ptrSftpDLL AS PTR, pszRemotePath AS PSZ) AS LONG PASCAL:SftpDLL.Sftp_ListNames

Die Structure für die Events:
STRUCT SftpEventsStruct
MEMBER hConnected AS PTR
MEMBER hDisconnected AS PTR
MEMBER hStateChange AS PTR
MEMBER hHostFingerprint AS PTR
MEMBER hProgress AS PTR
MEMBER hListItems AS PTR
MEMBER hDone AS PTR
MEMBER hAttributes AS PTR
MEMBER hCryptoInformation AS PTR
MEMBER hAttributesData AS PTR
MEMBER hLoginChallenge AS PTR
MEMBER hLoopItem AS PTR
MEMBER hLoopError AS PTR
MEMBER hRemoteData AS PTR
MEMBER hExtendedCmdReply AS PTR

Die Prozeduren für den Empfang der Events:
PROCEDURE Sftp_Done (hWnd AS PTR, nErrorCode AS SHORT, pErrorText AS PSZ)
// _dOut(#Sftp_Done, hWnd, nErrorCode, pErrorText)
RETURN

PROCEDURE Sftp_Disconnected (hWnd AS PTR)

// _dOut(#Sftp_Disconnected, hWnd)
RETURN

PROCEDURE Sftp_Connected (hWnd AS PTR, nErrorCode AS SHORT, pErrorText AS PSZ)

// _dOut(#Sftp_Connected, hWnd, nErrorCode, Psz2String(pErrorText))
RETURN

PROCEDURE Sftp_StateChange (hWnd AS PTR, nOldState AS LONG)
// _dOut(#Sftp_StateChange, hWnd, nOldState)
RETURN

PROCEDURE Sftp_Progress (hWnd AS PTR, param1, param2)
// (hWnd AS PTR, nPosition AS I64Rec, nTotal AS I64Rec) AS VOID CALLBACK
// Mit den 64Bit-Parametern noch nicht getestet!!!!

// _dOut(#Sftp_Progress, hWnd, param1, param2)
RETURN

Etwas Code aus meinen Tests. Die Umschaltung zwischen 'normalem Funktionsaufruf' und 'ASync-Modus mit Events' erfolgt mit dem 'Sftp_SetBlocking()' und dem Sftp_Create() mit oder ohne erstem Parameter.

TEXTBLOCK Sample
LOCAL pSftpDLL AS PTR
LOCAL pBuf1, pBuf2 AS PSZ
LOCAL i, nCount AS INT
LOCAL nState AS DWORD
LOCAL nRet AS LONG
LOCAL cRet AS STRING
LOCAL nError AS SHORT
// LOCAL lRet AS LOGIC
LOCAL pEvent IS SftpEventsStruct

// LOCAL struFindData IS _winWIN32_FIND_DATA

nCount := 0
pEvent.hConnected := @Sftp_Connected ()
pEvent.hDisconnected := @Sftp_Disconnected ()
pEvent.hDone := @Sftp_Done ()
pEvent.hStateChange := @Sftp_StateChange ()
pEvent.hProgress := @Sftp_Progress ()
// pSftpDLL := Sftp_Create(NULL_PTR, String2Psz("LizenzKey"))
pSftpDLL := Sftp_Create(@pEvent, String2Psz("LizenzKey"))
pBuf1 := MemAlloc(10240)
pBuf2 := MemAlloc(1024)
MemSet(pBuf1, 0, 10240)
MemSet(pBuf2, 0, 1024)
i := 1024
nRet := Sftp_GetMyIP(pSftpDLL, pBuf2, @i)
cRet := Psz2String(pBuf2)
nRet := Sftp_GetMyHostname(pSftpDLL, pBuf2, @i)
cRet := Psz2String(pBuf2)
// Test zum Setzen und Lesen von Sftp_SetBlocking()
// nRet := Sftp_SetBlocking(pSftpDLL, TRUE)
// nRet := Sftp_GetBlocking(pSftpDLL, @lRet)
nRet := Sftp_SetBlocking(pSftpDLL, FALSE)
// nRet := Sftp_GetBlocking(pSftpDLL, @lRet)
// nRet := Sftp_SetBlocking(pSftpDLL, TRUE)
nRet := Sftp_SetHostname(pSftpDLL, String2Psz("www.MyServer.com"))
nRet := Sftp_SetLogin(pSftpDLL, String2Psz("MyTest"))

Click here to read the complete article

Re: SFTP

<j57ppqFt7j0U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1024&group=comp.lang.clipper.visual-objects#1024

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!rocksolid2!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ruediger.fresemann@t-online.de (Rüdiger Fresemann)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: SFTP
Date: Mon, 24 Jan 2022 15:01:30 +0100
Lines: 4
Message-ID: <j57ppqFt7j0U1@mid.individual.net>
References: <hndhpeFeg3dU1@mid.individual.net>
<da8ba5e2-db76-402e-93f6-9e618a0e181bo@googlegroups.com>
<j4dq0cFu1g0U1@mid.individual.net>
<00bb65b4-6852-4f9a-9081-70c25d8e6ac2n@googlegroups.com>
<j4kt9aFa18iU1@mid.individual.net>
<4adbc412-3664-40b5-bbb7-49fcce0acee6n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net vGVK9WlJSEiLVNx1NEYR3wsnZfnZ7lPbYurNpozVqpWn2i4BdT
Cancel-Lock: sha1:Xg0G1X5wuUnCBtwkj54sA2JByvc=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
In-Reply-To: <4adbc412-3664-40b5-bbb7-49fcce0acee6n@googlegroups.com>
 by: Rüdiger Fresemann - Mon, 24 Jan 2022 14:01 UTC

Super, danke dir!
Ich werde das mal in Ruhe testen und gebe dir dann Rückmeldung.

LG Rüdiger

Re: SFTP

<j58ebvF2ldnU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1025&group=comp.lang.clipper.visual-objects#1025

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ruediger.fresemann@t-online.de (Rüdiger Fresemann)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: SFTP
Date: Mon, 24 Jan 2022 20:52:31 +0100
Lines: 11
Message-ID: <j58ebvF2ldnU1@mid.individual.net>
References: <hndhpeFeg3dU1@mid.individual.net>
<da8ba5e2-db76-402e-93f6-9e618a0e181bo@googlegroups.com>
<j4dq0cFu1g0U1@mid.individual.net>
<00bb65b4-6852-4f9a-9081-70c25d8e6ac2n@googlegroups.com>
<j4kt9aFa18iU1@mid.individual.net>
<4adbc412-3664-40b5-bbb7-49fcce0acee6n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net H01VaxWH3CBtuZ2AKio9wwm80MJ+OlkitO6Ffjpu/p2tBvCjbg
Cancel-Lock: sha1:yBnY0DEYpBVsPKrO1o+JPFp4eKs=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
In-Reply-To: <4adbc412-3664-40b5-bbb7-49fcce0acee6n@googlegroups.com>
 by: Rüdiger Fresemann - Mon, 24 Jan 2022 19:52 UTC

Hallo Gerhard,

Jetzt musst du mir doch nochnmal helfen.

Ich habe deinen Code probiert, aber ich bekomme immer einen Fehler: "Der
Prozedureinsprungspunkt wurde nicht gefunden....."

Wahrscheinlich lädt er die DLL nicht richtig. Kannst du mir da noch
einen Tipp geben?

Rüdiger

Re: SFTP

<ba376f4f-445e-4469-973d-277770e7f9d0n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1026&group=comp.lang.clipper.visual-objects#1026

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:ac8:4e1b:: with SMTP id c27mr3367847qtw.575.1643121135012;
Tue, 25 Jan 2022 06:32:15 -0800 (PST)
X-Received: by 2002:a05:6214:4006:: with SMTP id kd6mr19454758qvb.45.1643121134670;
Tue, 25 Jan 2022 06:32:14 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!1.us.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Tue, 25 Jan 2022 06:32:14 -0800 (PST)
In-Reply-To: <j58ebvF2ldnU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=84.190.70.246; posting-account=AoONowoAAACH0l2RPl_j6O0JJDlm9SzB
NNTP-Posting-Host: 84.190.70.246
References: <hndhpeFeg3dU1@mid.individual.net> <da8ba5e2-db76-402e-93f6-9e618a0e181bo@googlegroups.com>
<j4dq0cFu1g0U1@mid.individual.net> <00bb65b4-6852-4f9a-9081-70c25d8e6ac2n@googlegroups.com>
<j4kt9aFa18iU1@mid.individual.net> <4adbc412-3664-40b5-bbb7-49fcce0acee6n@googlegroups.com>
<j58ebvF2ldnU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ba376f4f-445e-4469-973d-277770e7f9d0n@googlegroups.com>
Subject: Re: SFTP
From: gerhard.bunzel@gmail.com (Gerhard Bunzel)
Injection-Date: Tue, 25 Jan 2022 14:32:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 4
 by: Gerhard Bunzel - Tue, 25 Jan 2022 14:32 UTC

Hallo Rüdiger,

ist die Datei SftpDLL.dll im gleichen Verzeichnis wie die EXE-Datei?

Gerhard

Re: SFTP

<j5cbs0FpfdvU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1027&group=comp.lang.clipper.visual-objects#1027

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ruediger.fresemann@t-online.de (Rüdiger Fresemann)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: SFTP
Date: Wed, 26 Jan 2022 08:34:24 +0100
Lines: 23
Message-ID: <j5cbs0FpfdvU1@mid.individual.net>
References: <hndhpeFeg3dU1@mid.individual.net>
<da8ba5e2-db76-402e-93f6-9e618a0e181bo@googlegroups.com>
<j4dq0cFu1g0U1@mid.individual.net>
<00bb65b4-6852-4f9a-9081-70c25d8e6ac2n@googlegroups.com>
<j4kt9aFa18iU1@mid.individual.net>
<4adbc412-3664-40b5-bbb7-49fcce0acee6n@googlegroups.com>
<j58ebvF2ldnU1@mid.individual.net>
<ba376f4f-445e-4469-973d-277770e7f9d0n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net CBR8Ved6TGKM3jqmy4rqUQk3LiM8Blm3XGwtgsDPm2BqB/yVW7
Cancel-Lock: sha1:2gpAnzTsfKMlHogR8aMtI9/tYUw=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
In-Reply-To: <ba376f4f-445e-4469-973d-277770e7f9d0n@googlegroups.com>
 by: Rüdiger Fresemann - Wed, 26 Jan 2022 07:34 UTC

Hallo Gerhard,

Ich glaube, ich habs gefunden. Ich denke, du benutzt ein anderes Produkt
wie ich. Bei mir heißt die DLL wodSFTP.dll und ist von WeOnlyDo.

So What, ich habe einen anderern Weg gefunden:

- Die DLL wird über regsvr32 in Windows registriert.
- Nun kann ich die DLL über OLEAutoObject in Cavo einbinden.
- Ich erreiche nun alle Funktionen bequem, außer die Events.
- Die wichtigen Funktionen, wo ich ein Event haben möchte habe ich in
einen ErrorBlock() gepackt und mir einen Exception Handler gebastelt.
- Durch die Handler-Parameter im Codeblock kann ich die Eventergebnisse
abfragen (etwas eingeschränkt, aber brauchbar)

So klappt es relativ gut mit wenig aufwand ohne Painter,
Automationserver oder sonst was. Das hält der Pflegeaufwand ebenfalls
gering.

Trotzdem Danke für deinen Code, ein paar interessante Ideen hat er für
mich dennoch enthalten.

Rüdiger

Re: SFTP

<be4e0752-8747-4617-934a-ead5a9ee4434n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1028&group=comp.lang.clipper.visual-objects#1028

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:622a:1044:: with SMTP id f4mr15850444qte.635.1643218961985;
Wed, 26 Jan 2022 09:42:41 -0800 (PST)
X-Received: by 2002:a05:620a:248a:: with SMTP id i10mr10693278qkn.337.1643218961644;
Wed, 26 Jan 2022 09:42:41 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Wed, 26 Jan 2022 09:42:41 -0800 (PST)
In-Reply-To: <j5cbs0FpfdvU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=84.190.72.105; posting-account=AoONowoAAACH0l2RPl_j6O0JJDlm9SzB
NNTP-Posting-Host: 84.190.72.105
References: <hndhpeFeg3dU1@mid.individual.net> <da8ba5e2-db76-402e-93f6-9e618a0e181bo@googlegroups.com>
<j4dq0cFu1g0U1@mid.individual.net> <00bb65b4-6852-4f9a-9081-70c25d8e6ac2n@googlegroups.com>
<j4kt9aFa18iU1@mid.individual.net> <4adbc412-3664-40b5-bbb7-49fcce0acee6n@googlegroups.com>
<j58ebvF2ldnU1@mid.individual.net> <ba376f4f-445e-4469-973d-277770e7f9d0n@googlegroups.com>
<j5cbs0FpfdvU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <be4e0752-8747-4617-934a-ead5a9ee4434n@googlegroups.com>
Subject: Re: SFTP
From: gerhard.bunzel@gmail.com (Gerhard Bunzel)
Injection-Date: Wed, 26 Jan 2022 17:42:41 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 12
 by: Gerhard Bunzel - Wed, 26 Jan 2022 17:42 UTC

Hallo Rüdiger,

>Bei mir heißt die DLL wodSFTP.dll und ist von WeOnlyDo.
Dann benutzt Du wodSFTP ActiveX component.
Ich benutze die in meinem Link angegebene wodSFTPdll - die DLL-Version davon.

Der Vorteil der DLL-Version ist nach meiner Meinung, die muss nicht installiert werden - einfach in das Programmverzeichnis kopieren - fertig.
Keine Installation - keine Registrierung der DLL. Auch wenn der User keine Installationsrechte hat, kann die Funktion genutzt werden.

Gerhard

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor