Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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)


Topic review


Re: Delete Files

That depends on what your arguments to GetFiles are.

If you download the folder itself, the folder is also deleted:
session.GetFiles("/remote/path", ..., true)

If you download the files in the folder, the folder itself is not deleted:
session.GetFiles("/remote/path/*", ..., true)

Delete Files


I want do donwnload files from sftp address to and I have used getFiles function. One of the parameters is remove files on original location. The files are in a folder.
When I call this function, it also has deleted my folder.
I've tried move instruction and remove instruction too.
In every cases my original folder is deleted, s this normal?

Can anyone help me ?