EldoS | Feel safer!

Software components for data protection, secure storage and transfer

CopyRemoteFile

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
#9765
Posted: 04/22/2009 03:40:07
by Cornelia Frick (Standard support level)
Joined: 04/07/2009
Posts: 4

hello,
why isn't copyremotefile in vcl implemented?
i work with delphi and could use this function.
lg
#9766
Posted: 04/22/2009 03:51:26
by Ken Ivanov (EldoS Corp.)

Thank you for contacting us.

Why do you think it's not implemented? :)
#9767
Posted: 04/22/2009 04:12:36
by Cornelia Frick (Standard support level)
Joined: 04/07/2009
Posts: 4

thanks for your answer.


... because if i use this function in my program, i receive the message 'operation not supported'.
#9768
Posted: 04/22/2009 05:15:15
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

It means, that this operation is not supported by server software.
#9771
Posted: 04/22/2009 07:05:40
by Cornelia Frick (Standard support level)
Joined: 04/07/2009
Posts: 4

sorry, about my stupid ask!

but from where I know that a server supports this operation?

my program know only at run-time with wich server communicates.

that is also a problem by connecting - client authentication by password or no?

can i ask the server what can i do?
#9772
Posted: 04/22/2009 07:18:24
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

This command is implemented as SFTP extension, and most servers doesn't support it. You can check for it support via ElSFTPClient.ExtendedProperties :
firstly, you should check if the 'supported' extension is available (i.e. was sent from server to client) via ElSFTPClient.ExtendedProperties.SupportedAvailable, and after that check
if string list ElSFTPClient.ExtendedProperties.SupportedExtension.SupportedExtensions contains string 'copy-file' (or SBSFTPCommon.SSH_EXT_COPY_FILE).

And, as I said before, this extension is not supported by most of modern SFTP servers, so you shouldn't rely on it.
#9775
Posted: 04/22/2009 09:51:21
by Ken Ivanov (EldoS Corp.)

Quote
that is also a problem by connecting - client authentication by password or no?

Use OnAuthenticationStart event. It returns authentication types supported by the server.
#9781
Posted: 04/23/2009 03:35:23
by Cornelia Frick (Standard support level)
Joined: 04/07/2009
Posts: 4

Thank you Mykola and Innokentiy for your informations!
I continued to come a good piece.

Unfortunately I have only remote-server abailable, which do not 'copyremotefile' permit. But I have gotten a Linux-server for testing.

Which parameters do I have to be setting on the server as, so that I can make 'copyremotefile'?

lg
#9783
Posted: 04/23/2009 03:47:23
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

Hi. As I remember, only VanDyke & F-Secure servers supports this feature. VanDyke VShell server is also available for Linux, about F-Secure i'm not sure.
Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.

Reply

Statistics

Topic viewed 2106 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!