those were my questions - anyway thanks.
- nighttrain
I am using winscp to transfer files by ftp. Couple days ago i developed new module to show pictures in pictures box control. What i would like to achieve is to list picture's paths inside listbox or whatever else and then when click on this path to be able to open the picture in picturebox. The point is pictures are on remote location on my ftp and i have no idea is it possible using winscp (ftp) to use get their path and then using the paths to show up given picture inside picture box. Anyone has idea is it possible or not?
Hi,
Have to questions cause can;t find it:
1) How to check if directory contains anything e.g folder or files, wahetever... or is it empty
1) How to remove emopty directory?
2) How to remove directory even if there content.
For instance for creating directory i am using below function:
Public Sub CreateDirectory(path As String)
If session IsNot Nothing Then
session.CreateDirectory(path)
End If
End Sub
Public Sub CreateDirectory(path As String)
If session IsNot Nothing Then
session.CreateDirectory(path)
End If
End Sub