[SFTP] Create FTP directories

[SFTP] Create FTP directories

  
Forge Component
(3)
Published on 24 Sep by Wei Zhu
3 votes
Published on 24 Sep by Wei Zhu

Hi,


I want to create  directory using SFTP. Is it possible? if yes can any one please direct me?



Regards,

Sneha Sawant

Yes, SFTP use following libraries, both have API to create directory

SSH.NET for .NET  - http://sshnet.codeplex.com/

JSch for Java - http://www.jcraft.com/jsch/


The thing you need to do is create an Action in Extension and then call the API in source code.

I had uploaded a new version there contain mkdir action.


Regards

Wei

Wei Zhu wrote:

Yes, SFTP use following libraries, both have API to create directory

SSH.NET for .NET  - http://sshnet.codeplex.com/

JSch for Java - http://www.jcraft.com/jsch/

The thing you need to do is create an Action in Extension and then call the API in source code.

I had uploaded a new version there contain mkdir action.


Regards

Wei

Thanks Wei for the information. I realised that functionality is available for version 9 and I am using Version 8.

Could it be possible to make some workaround for older version?

I appreciate your help.


Thanks and regards,

Sneha Sawant


Solution

Hello Sneha Sawant


Could you please try Version 2.0 that is created with Version 6

When you open it with Integration Studio, it will be upgraded to Version 8 automatically.

Solution

Wei Zhu wrote:

Hello Sneha Sawant


Could you please try Version 2.0 that is created with Version 6

When you open it with Integration Studio, it will be upgraded to Version 8 automatically.


Hi Wei,


Thank you for the reply, I tried the same way, I  am using the version 2 for OS version 8, I can transfer and store the files at FTP  server using PUT action of the extension however I need to create a new directories at every transaction and store the files in it.

Currently I am enable to create directories. I can only transfer files at given File Path.

Could you please direct me for this? I want to create directories at every transaction to store the files using Version 8.

appreciate your help.


Thanks and regards,

Sneha Sawant