Author | Topic: SFTP SSH Libraries | |
---|---|---|
John Sauvigne | SFTP SSH Libraries on Mon, 25 Feb 2013 14:38:57 -0500 I currently use Marshallsoft FTP Client Engine Library (FCE4XB) for standard FTP and it works great. Now a client requires SFTP SSH file transfer. Chilkat Software has an ActiveX version and a Delphi XE2 DLL API. Has anyone used either version? Any other options available? I also use xb2.net but the client requires SFTP and not FTPS. Any help would be appreciated. John. | |
Thomas Braun | Re: SFTP SSH Libraries on Tue, 26 Feb 2013 08:22:08 +0100 John Sauvigne wrote: > I currently use Marshallsoft FTP Client Engine Library (FCE4XB) for > standard FTP and it works great. Now a client requires SFTP SSH file > transfer. Chilkat Software has an ActiveX version and a Delphi XE2 DLL > API. Has anyone used either version? Any other options available? I also > use xb2.net but the client requires SFTP and not FTPS. Not sure what you need but if you only have to transfer or receive files you could use the command line version of WinSCP. Thomas | |
John Sauvigne | Re: SFTP SSH Libraries on Tue, 26 Feb 2013 09:39:58 -0500 Thanks Thomas. I will take a look at WinSCP. I was working yesterday with Chilkat's SSH/SFTP ActiveX component and it seems to work pretty well so far. I would prefer straight DLL instead of ActiveX so that the user doesn't have to register anything. John. On 2/26/2013 2:22 AM, Thomas Braun wrote: > John Sauvigne wrote: > >> I currently use Marshallsoft FTP Client Engine Library (FCE4XB) for >> standard FTP and it works great. Now a client requires SFTP SSH file >> transfer. Chilkat Software has an ActiveX version and a Delphi XE2 DLL >> API. Has anyone used either version? Any other options available? I also >> use xb2.net but the client requires SFTP and not FTPS. > > Not sure what you need but if you only have to transfer or receive files > you could use the command line version of WinSCP. > > Thomas > | |
Thomas Braun | Re: SFTP SSH Libraries on Tue, 26 Feb 2013 17:33:00 +0100 John Sauvigne wrote: > Thanks Thomas. I will take a look at WinSCP. I was working yesterday > with Chilkat's SSH/SFTP ActiveX component and it seems to work pretty > well so far. I would prefer straight DLL instead of ActiveX so that the > user doesn't have to register anything. Ok - just for your information, this is basically what I do: Step 1 - Create a WinSCP script file on-the-fly, see http://winscp.net/eng/docs/scripting for details. Step 2 - Call it via RunShell: RunShell( "/console /log=D:\wwwroot\hp2\winscp_session.log /script=D:\wwwroot\hp2\upload.scp", "C:\Program Files (x86)\WinSCP\WinSCP.exe" ) Regards | |
John Sauvigne | Re: SFTP SSH Libraries on Wed, 27 Feb 2013 10:11:59 -0500 Thanks Thomas! I will take a look at WinSCP more closely. It looks like it may be the best solution. John. On 2/26/2013 11:33 AM, Thomas Braun wrote: > John Sauvigne wrote: > >> Thanks Thomas. I will take a look at WinSCP. I was working yesterday >> with Chilkat's SSH/SFTP ActiveX component and it seems to work pretty >> well so far. I would prefer straight DLL instead of ActiveX so that the >> user doesn't have to register anything. > > Ok - just for your information, this is basically what I do: > > Step 1 - Create a WinSCP script file on-the-fly, see > http://winscp.net/eng/docs/scripting for details. > > Step 2 - Call it via RunShell: > > RunShell( "/console /log=D:\wwwroot\hp2\winscp_session.log /script=D:\wwwroot\hp2\upload.scp", "C:\Program Files (x86)\WinSCP\WinSCP.exe" ) > > Regards > | |
Thomas Braun | Re: SFTP SSH Libraries on Thu, 28 Feb 2013 08:49:03 +0100 John Sauvigne wrote: > Thanks Thomas! I will take a look at WinSCP more closely. It looks like > it may be the best solution. At least when you look at the cost - it's free Thomas | |
Simon White | Re: SFTP SSH Libraries on Wed, 05 Jun 2013 11:50:12 -0400 If I remember correctly Chilkat's controls do not have to be registered to work. Simon On 26/02/2013 9:39 AM, John Sauvigne wrote: > Thanks Thomas. I will take a look at WinSCP. I was working yesterday > with Chilkat's SSH/SFTP ActiveX component and it seems to work pretty > well so far. I would prefer straight DLL instead of ActiveX so that the > user doesn't have to register anything. > > John. > > > On 2/26/2013 2:22 AM, Thomas Braun wrote: >> John Sauvigne wrote: >> >>> I currently use Marshallsoft FTP Client Engine Library (FCE4XB) for >>> standard FTP and it works great. Now a client requires SFTP SSH file >>> transfer. Chilkat Software has an ActiveX version and a Delphi XE2 DLL >>> API. Has anyone used either version? Any other options available? I also >>> use xb2.net but the client requires SFTP and not FTPS. >> >> Not sure what you need but if you only have to transfer or receive files >> you could use the command line version of WinSCP. >> >> Thomas >> | |
John Sauvigne | Re: SFTP SSH Libraries on Fri, 07 Jun 2013 10:09:36 -0400 Hi Simon, How would I call them? The library works great as ActiveX, but I would much rather not have to register the DLL. Unfortunately, most of my clients have their systems locked down and they have to get their tech department (or outside consultant) come over and register the DLL on each workstation. So how do I access the controls without ActiveX? I downloaded the ActiveX controls, so do I have to download the COM controls? I guess I need to dig deeper into this. Any help would be appreciated. Thanks, John. On 6/5/2013 11:50 AM, Simon White wrote: > If I remember correctly Chilkat's controls do not have to be registered > to work. > > Simon > > > On 26/02/2013 9:39 AM, John Sauvigne wrote: >> Thanks Thomas. I will take a look at WinSCP. I was working yesterday >> with Chilkat's SSH/SFTP ActiveX component and it seems to work pretty >> well so far. I would prefer straight DLL instead of ActiveX so that the >> user doesn't have to register anything. >> >> John. >> >> >> On 2/26/2013 2:22 AM, Thomas Braun wrote: >>> John Sauvigne wrote: >>> >>>> I currently use Marshallsoft FTP Client Engine Library (FCE4XB) for >>>> standard FTP and it works great. Now a client requires SFTP SSH file >>>> transfer. Chilkat Software has an ActiveX version and a Delphi XE2 DLL >>>> API. Has anyone used either version? Any other options available? I >>>> also >>>> use xb2.net but the client requires SFTP and not FTPS. >>> >>> Not sure what you need but if you only have to transfer or receive files >>> you could use the command line version of WinSCP. >>> >>> Thomas >>> > | |
Jan Groenestein | Re: SFTP SSH Libraries on Wed, 19 Jun 2013 17:04:22 +0200 Hi Simon, They certainly do need to be registered, as we found out the hard way. This is also my main objection against using Activex components. Kind regards, Jan Groenestein Op 5-6-2013 17:50, Simon White schreef: > If I remember correctly Chilkat's controls do not have to be registered > to work. > > Simon > > > On 26/02/2013 9:39 AM, John Sauvigne wrote: >> Thanks Thomas. I will take a look at WinSCP. I was working yesterday >> with Chilkat's SSH/SFTP ActiveX component and it seems to work pretty >> well so far. I would prefer straight DLL instead of ActiveX so that the >> user doesn't have to register anything. >> >> John. >> >> >> On 2/26/2013 2:22 AM, Thomas Braun wrote: >>> John Sauvigne wrote: >>> >>>> I currently use Marshallsoft FTP Client Engine Library (FCE4XB) for >>>> standard FTP and it works great. Now a client requires SFTP SSH file >>>> transfer. Chilkat Software has an ActiveX version and a Delphi XE2 DLL >>>> API. Has anyone used either version? Any other options available? I >>>> also >>>> use xb2.net but the client requires SFTP and not FTPS. >>> >>> Not sure what you need but if you only have to transfer or receive files >>> you could use the command line version of WinSCP. >>> >>> Thomas >>> > | |
John Sauvigne | Re: SFTP SSH Libraries on Thu, 23 May 2013 15:27:50 -0400 Followup: I decided to purchase the SFTP ActiveX Component from Chilkat Software (US$149). Works great! Need to register one DLL file, would have liked to avoid this. FWIW, here is a code example: Sftp := CreateObject('Chilkat.SFtp') oSftp:UnlockComponent("xyz") oSftp:Connect(cHostname,nPort) oSftp:AuthenticatePw(cUser, cPassword) oSftp:InitializeSftp() //** Open a directory on the server... cHandle := oSftp:OpenDir(cDir) oDirListing := oSftp:ReadDir(cHandle) oSftp:CloseHandle(cHandle) //** Download file... oSftp:DownloadFileByName(cRemotePath+cFile,cLocalPath+cFile) //** Upload file... oSftp:UploadFileByName(cRemotePath+cFile,cLocalPath+cFile) |