Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: How to creating directories on remote sftp server by using com library

There's no way to create a recursive remote path in one call.
If you do not even know what path components exists in advance, you have to iterate the components one by one, testing their existence (.FileExists) and create if they do not.
mrstone

How to creating directories on remote sftp server by using com library

Hello !!

I want to create directories - "/home/123/456/789/"


but, when remote server Root directory is "/" and current conneted directory is "/", session.CreateDirectoy("/home/123/456/789/") is Error !!

and, when remote server Root directory is "/" and current conneted directory is "/", if directory "/123" is exist then session.CreateDirectoy("/123") is Error !!

when remote server Root directory is "/" and current conneted directory is "/", If I want to creating directories - "/home/123/456/789/" then How to useing com library ??? :cry: