﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Ipswitch Forums / WS_FTP Professional Software Development Kit / Ipswitch Products  / Directory listing on SFTP site??? / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Ipswitch Forums</description><link>http://forums.ipswitch.com/</link><webMaster>forums@ipswitch.com</webMaster><lastBuildDate>Fri, 29 Aug 2008 17:41:25 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Directory listing on SFTP site???</title><link>http://forums.ipswitch.com/Topic40597-9-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;We had similar problems. Attached is code we built to extract data.&lt;/P&gt;&lt;P&gt;Seemed like if we did a chg dir followed by a get curr folder followed by a refresh (which looked like a get curr folder under the covers) we got what we needed. According to specs you shouldn't have to do this sequence; but it works.&lt;/P&gt;&lt;P&gt;good luck.</description><pubDate>Tue, 19 Feb 2008 15:26:58 GMT</pubDate><dc:creator>vasimo</dc:creator></item><item><title>Directory listing on SFTP site???</title><link>http://forums.ipswitch.com/Topic40597-9-1.aspx</link><description>Hi all,&lt;br&gt;&lt;br&gt;Can any of you elaborate on how to scan through the files on a remote directory using filemask. For example If I only wanted to get all *.csv files from a remote directory on an SFTP site.&lt;br&gt;&lt;br&gt;The following code always lists all the files from the remote directory, where as I need only *.csv files.&lt;br&gt;&lt;br&gt;pConn = pApi.CreateConnection(str_FTPlocation, str_FTPUsername, srr_FTPPassword, WsftpConnectionTypes.WSFTP_CT_SFTP, 22)&lt;br&gt;pFolder = pConn.GetFolder("*.csv", str_FTPDirectory)&lt;br&gt;filecount = pFolder.Count&lt;br&gt;&lt;br&gt;Is this a bug or am I doing something wrong? Please share your thoughts.&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;Karthik&lt;br&gt;&lt;br&gt;</description><pubDate>Thu, 31 Jan 2008 13:38:08 GMT</pubDate><dc:creator>kboominathan</dc:creator></item></channel></rss>