ChangeDirUp

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
jvm
Posts: 5
Joined: Fri 04 May 2018 08:49

ChangeDirUp

Post by jvm » Mon 14 May 2018 09:50

Hello,

Can anyone tell me how to do a ChangeDirUp via the FScSFTPClient object?

I tried with OpenDirectory, but I can not find a solution.

Thank you in advance to all for your help.

Best regards

stlcours
Posts: 33
Joined: Wed 14 Sep 2011 20:22

Re: ChangeDirUp

Post by stlcours » Mon 14 May 2018 10:58

sftp has not "current dir", so there is no "change dir".

But maybe Devart can simulate these actions for simplify the components users? Please consider this!

jvm
Posts: 5
Joined: Fri 04 May 2018 08:49

Re: ChangeDirUp

Post by jvm » Mon 14 May 2018 12:10

Hello,

Thanks for the answer, it is a tribute that the objects TScFTPClient and TScSFTPClient have different functions.

it would be nice if Devart took into consideration a similar mode of operation between the two objects.

thank you very much

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: ChangeDirUp

Post by ViktorV » Tue 15 May 2018 06:59

How to correctly specify stlcours: in the SFTP protocol, the term "current working directory" does not exist. You can open the directory using the OpenDirectory method, and you can get the absolute path to any directory using the RetrieveAbsolutePath method.

jvm
Posts: 5
Joined: Fri 04 May 2018 08:49

Re: ChangeDirUp

Post by jvm » Fri 25 May 2018 07:30

Hello ViktorV,

Thanks for the answer, I was already gone to the method you advised me.

Best regards

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: ChangeDirUp

Post by ViktorV » Fri 25 May 2018 11:26

Thank you for the interest in our products.
If you have any questions during using our products, please don't hesitate to contact us - and we will try to help you solve them.

Post Reply