<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>C# FTP Library</title><link>http://ftplib.codeplex.com/project/feeds/rss</link><description>This library wraps the wininet.dll functions for FTP to create an effective way to interact with FTP servers using the C&amp;#35; language and the .Net framework. </description><item><title>New Post: Suggestion</title><link>http://ftplib.codeplex.com/discussions/440472</link><description>&lt;div style="line-height: normal;"&gt;Hello,&lt;br /&gt;
&lt;br /&gt;
It would be nice if we can choose the ftp transfer type. By default, you hardcoded FTP_TRANSFER_TYPE_BINARY as the ftp transfer type. The problem with that is if the ftp server doesn't accept image type, the code doesn't support other transfer type. In my project, i had to change the source code to put FTP_TRANSFER_TYPE_ASCII as the ftp transfer type because my ftp server only accepts that.&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;/div&gt;</description><author>Quatra</author><pubDate>Tue, 16 Apr 2013 14:59:51 GMT</pubDate><guid isPermaLink="false">New Post: Suggestion 20130416025951P</guid></item><item><title>New Post: How to upload a folder with multiple sub files and sub folders ?</title><link>http://ftplib.codeplex.com/discussions/438582</link><description>&lt;div style="line-height: normal;"&gt;Hello&lt;br /&gt;
anyone have a code for uploading a folder with all of its sub files and sub folders ??&lt;br /&gt;
&lt;/div&gt;</description><author>aymen99</author><pubDate>Sun, 31 Mar 2013 12:39:33 GMT</pubDate><guid isPermaLink="false">New Post: How to upload a folder with multiple sub files and sub folders ? 20130331123933P</guid></item><item><title>New Post: Determine if the ftp is connected!?</title><link>http://ftplib.codeplex.com/discussions/436920</link><description>&lt;div style="line-height: normal;"&gt;Hey, &lt;br /&gt;
&lt;br /&gt;
How can I determine if the ftp is connected or not?&lt;br /&gt;
&lt;/div&gt;</description><author>chat</author><pubDate>Sun, 17 Mar 2013 08:13:54 GMT</pubDate><guid isPermaLink="false">New Post: Determine if the ftp is connected!? 20130317081354A</guid></item><item><title>New Post: Listing all files in a folder</title><link>http://ftplib.codeplex.com/discussions/254790</link><description>&lt;div style="line-height: normal;"&gt;Hey,&lt;br /&gt;
&lt;br /&gt;
I use this code for listing all picture files that place in the selected directory with the specified filter.&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;public static Dictionary&amp;lt;string, int&amp;gt; ReadSubDirectories(string dirname)
        {
            public static string filters = &amp;quot;*.jpg|*.gif|*.png|*.bmp|*.jpe|&amp;quot;
                            + &amp;quot;*.jpeg|*.wmf|*.emf|*.xbm|*.ico|*.eps|*.tif|*.tiff|&amp;quot;
                            + &amp;quot;*.g01|*.g02|*.g03|*.g04|*.g05|*.g06|*.g07|*.g08&amp;quot;;
            Dictionary&amp;lt;string, int&amp;gt; dic = new Dictionary&amp;lt;string, int&amp;gt;();
            var thread = new Thread(() =&amp;gt;
                {
                    try
                    {
                        foreach (var dir in Ftp.ftpconn.GetDirectories(&amp;quot;/&amp;quot; + dirname))
                            if (!dir.Name.Equals(&amp;quot;.&amp;quot;) &amp;amp;&amp;amp; !dir.Name.Equals(&amp;quot;..&amp;quot;))
                                dic.Add(dir.Name, 0);

                        Ftp.ftpconn.SetCurrentDirectory(&amp;quot;/&amp;quot; + dirname);
                                                
                        foreach (var files in Ftp.ftpconn.GetFiles())
                        {
                            string[] f = filters.Split('|');
                            if (f.Contains(&amp;quot;*&amp;quot;+files.Extension) &amp;amp;&amp;amp; !files.Extension.Equals(&amp;quot;&amp;quot;))
                                dic.Add(files.Name, 1);
                        }
                    }
                    catch (Exception ex)
                    {

                    }
                });
            thread.Start();

            return dic;
        }&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>chat</author><pubDate>Sun, 17 Mar 2013 08:09:57 GMT</pubDate><guid isPermaLink="false">New Post: Listing all files in a folder 20130317080957A</guid></item><item><title>Reviewed: FTPLib v4.0.0.0 (Feb 18, 2013)</title><link>http://ftplib.codeplex.com/releases/view/102046#ReviewBy-mjohnjoseph</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - Not available through nuGet&amp;#63;</description><author>mjohnjoseph</author><pubDate>Mon, 18 Feb 2013 13:11:04 GMT</pubDate><guid isPermaLink="false">Reviewed: FTPLib v4.0.0.0 (Feb 18, 2013) 20130218011104P</guid></item><item><title>Updated Release: FTPLib v4.0.0.0 (Feb 17, 2013)</title><link>http://ftplib.codeplex.com/releases/view/102046</link><description>&lt;div class="wikidoc"&gt;Update for .NET 4.0 version.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>csuyouth</author><pubDate>Sun, 17 Feb 2013 03:56:05 GMT</pubDate><guid isPermaLink="false">Updated Release: FTPLib v4.0.0.0 (Feb 17, 2013) 20130217035605A</guid></item><item><title>Released: FTPLib v4.0.0.0 (Feb 17, 2013)</title><link>http://ftplib.codeplex.com/releases/view/102046</link><description>
&lt;div class="wikidoc"&gt;Update for .NET 4.0 version.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
</description><author></author><pubDate>Sun, 17 Feb 2013 03:56:05 GMT</pubDate><guid isPermaLink="false">Released: FTPLib v4.0.0.0 (Feb 17, 2013) 20130217035605A</guid></item><item><title>Updated Release: FTPLib v4.0.0.0 (Feb 17, 2013)</title><link>http://ftplib.codeplex.com/releases/view/102046</link><description>&lt;div class="wikidoc"&gt;Update for .NET 4.0 version.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>csuyouth</author><pubDate>Sun, 17 Feb 2013 03:54:15 GMT</pubDate><guid isPermaLink="false">Updated Release: FTPLib v4.0.0.0 (Feb 17, 2013) 20130217035415A</guid></item><item><title>Updated Release: FTPLib v4.0.0.0 (Feb 16, 2013)</title><link>http://ftplib.codeplex.com/releases/view/102046</link><description>&lt;div class="wikidoc"&gt;Update for .NET 4.0 version.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>csuyouth</author><pubDate>Sun, 17 Feb 2013 03:53:11 GMT</pubDate><guid isPermaLink="false">Updated Release: FTPLib v4.0.0.0 (Feb 16, 2013) 20130217035311A</guid></item><item><title>Source code checked in, #82946</title><link>http://ftplib.codeplex.com/SourceControl/changeset/changes/82946</link><description>Update for .NET 4.0 version</description><author>csuyouth</author><pubDate>Sun, 17 Feb 2013 03:51:49 GMT</pubDate><guid isPermaLink="false">Source code checked in, #82946 20130217035149A</guid></item><item><title>Created Release: FTPLib v4.0.0.0</title><link>http://ftplib.codeplex.com/releases?ReleaseId=102046</link><description>&lt;div class="wikidoc"&gt;Update for .NET 4.0 version.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>csuyouth</author><pubDate>Sun, 17 Feb 2013 03:11:13 GMT</pubDate><guid isPermaLink="false">Created Release: FTPLib v4.0.0.0 20130217031113A</guid></item><item><title>Reviewed: FTPLib v.1.0.1.3 (Feb 12, 2013)</title><link>http://ftplib.codeplex.com/releases/view/56358#ReviewBy-aymen99</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - great library &amp;#33;&amp;#10;we just need more examples &amp;#58;&amp;#41;&amp;#10;Thanks for the great work &amp;#33;</description><author>aymen99</author><pubDate>Tue, 12 Feb 2013 12:56:08 GMT</pubDate><guid isPermaLink="false">Reviewed: FTPLib v.1.0.1.3 (Feb 12, 2013) 20130212125608P</guid></item><item><title>Reviewed: FTPLib v.1.0.1.3 (Feb 05, 2013)</title><link>http://ftplib.codeplex.com/releases/view/56358#ReviewBy-GreenHex</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - Thanks for great lib, for some reason every second call to fileexists or Getfilesize takes long time &amp;#40;server issue&amp;#63;, but GetFiles seems to be always fast&amp;#41;. I added patch.&amp;#10;In my patch I added Size property to FtpFileInfo, and added 2 lines in FtpConnection.cs&amp;#10;Now to check if file exists and what size has call r &amp;#61; GetFiles&amp;#40;filename.xxx&amp;#41;&amp;#59; if &amp;#40;r.lenght &amp;#61;&amp;#61;0&amp;#41; doesn&amp;#39;t exists else r&amp;#91;0&amp;#93;.Size </description><author>greenhex</author><pubDate>Tue, 05 Feb 2013 21:04:44 GMT</pubDate><guid isPermaLink="false">Reviewed: FTPLib v.1.0.1.3 (Feb 05, 2013) 20130205090444P</guid></item><item><title>Reviewed: FTPLib v.1.0.1.3 (Feb 05, 2013)</title><link>http://ftplib.codeplex.com/releases/view/56358#ReviewBy-GreenHex</link><description>Rated 4 Stars &amp;#40;out of 5&amp;#41; - Thanks for great lib, for some reason every second call to fileexists or Getfilesize takes long time &amp;#40;server issue&amp;#63;, but GetFiles seems to be always fast&amp;#41;. I added patch.&amp;#10;In my patch I added Size property to FtpFileInfo, and added 2 lines in FtpConnection.cs&amp;#10;Now to check if file exists and what size has call r &amp;#61; GetFiles&amp;#40;filename.xxx&amp;#41;&amp;#59; if &amp;#40;r.lenght &amp;#61;&amp;#61;0&amp;#41; doesn&amp;#39;t exists else r&amp;#91;0&amp;#93;.Size </description><author>greenhex</author><pubDate>Tue, 05 Feb 2013 21:04:27 GMT</pubDate><guid isPermaLink="false">Reviewed: FTPLib v.1.0.1.3 (Feb 05, 2013) 20130205090427P</guid></item><item><title>Reviewed: FTPLib v.1.0.1.3 (Feb 05, 2013)</title><link>http://ftplib.codeplex.com/releases/view/56358#ReviewBy-greenhex</link><description>Rated 4 Stars &amp;#40;out of 5&amp;#41; - Thanks for great lib, for some reason every second call to fileexists or Getfilesize takes long time&amp;#40;&amp;#41;. I added patch &amp;#40;since not sure how to update source direcly... permissions etc&amp;#41;&amp;#10;In my patch I added Size property to FtpFileInfo, and added 2 lines in FtpConnection.cs&amp;#10;Now to check if file exists and what size has call r &amp;#61; GetFiles&amp;#40;filename.xxx&amp;#41;&amp;#59; if &amp;#40;r.lenght &amp;#61;&amp;#61;0&amp;#41; doesn&amp;#39;t exists else r&amp;#91;0&amp;#93;.Size </description><author>greenhex</author><pubDate>Tue, 05 Feb 2013 21:03:02 GMT</pubDate><guid isPermaLink="false">Reviewed: FTPLib v.1.0.1.3 (Feb 05, 2013) 20130205090302P</guid></item><item><title>Patch Uploaded: #13800</title><link>http://ftplib.codeplex.com/SourceControl/list/patches</link><description>
&lt;p&gt;&lt;a href='http://www.codeplex.com/site/users/view/GreenHex'&gt;GreenHex&lt;/a&gt; has uploaded a patch.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Description:&lt;/b&gt;&lt;br /&gt;Added Size property to FtpFileInfo as this is returned by WIN32_FIND_DATA structure anyway&lt;br /&gt;Normal GetFileSize is slow when run one after another...&lt;/p&gt;</description><author>greenhex</author><pubDate>Tue, 05 Feb 2013 20:29:05 GMT</pubDate><guid isPermaLink="false">Patch Uploaded: #13800 20130205082905P</guid></item><item><title>Created Issue: File Transfer Bottlenecking [10749]</title><link>http://ftplib.codeplex.com/workitem/10749</link><description>I&amp;#39;m using this library as the underlying ftp client to my wcf service. I&amp;#39;m doing this to accomplish ftp operation on a system from another system as remote storage wasn&amp;#39;t working. Now my problem is, after a certain size&amp;#40;850-950 MB&amp;#41; the transfer speed is cut down to 8-10 MegaByte&amp;#47;Per sec on a 1GigaBit&amp;#47;PerSec line which easily gives me 50-60 MegaByte&amp;#47;Per sec.&lt;br /&gt;&lt;br /&gt;I don&amp;#39;t know what the problem is, as the client works fine on its own and service works fine when i use other ftp clients.&lt;br /&gt;</description><author>MadMumble</author><pubDate>Thu, 17 Jan 2013 07:42:34 GMT</pubDate><guid isPermaLink="false">Created Issue: File Transfer Bottlenecking [10749] 20130117074234A</guid></item><item><title>New Post: GetFileSize bug?</title><link>http://ftplib.codeplex.com/discussions/418334</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;My code goes as follows:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;foreach&lt;/span&gt; (&lt;span style="color:blue"&gt;var&lt;/span&gt; file &lt;span style="color:blue"&gt;in&lt;/span&gt; ftp.GetFiles(&lt;span style="color:#a31515"&gt;&amp;quot;/&amp;quot;&lt;/span&gt;))
                    {
                        Console.WriteLine(file.Name);
                        Console.WriteLine(ftp.GetFileSize(file.Name));
                        Console.WriteLine(file.LastWriteTime);
                    }
                    Console.ReadLine();
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And it all works fine exept for the 'ftp.GetFileSize' function.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It only returns the first 2 file sizes, and limits the total output.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;p&gt;Bad Code:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.invalid2.x10.mx/Random_Images/badcode.png"&gt;http://www.invalid2.x10.mx/Random_Images/badcode.png&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Good Code:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.invalid2.x10.mx/Random_Images/goodcode.png"&gt;http://www.invalid2.x10.mx/Random_Images/goodcode.png&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any ideas? Thanks&lt;/p&gt;
&lt;/div&gt;</description><author>TekNO5</author><pubDate>Tue, 25 Dec 2012 23:46:38 GMT</pubDate><guid isPermaLink="false">New Post: GetFileSize bug? 20121225114638P</guid></item><item><title>New Post: windows 8 problem</title><link>http://ftplib.codeplex.com/discussions/406153</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi, I can't find a ftp upload system in Windows 8 and I find this dll, but it give me an error.&lt;/p&gt;
&lt;p&gt;I make, open, login, create a directory and all Works fine, but when I want to getfile or putfile it give me the &amp;quot;Access denied&amp;quot; error.&lt;/p&gt;
&lt;p&gt;first I put the setcurrentdirectory and after I put&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:x-small; font-family:Consolas"&gt;&lt;span style="font-size:x-small; font-family:Consolas"&gt;&lt;span style="font-size:x-small; font-family:Consolas"&gt;&lt;span style="font-size:x-small; font-family:Consolas"&gt;&lt;span style="font-size:x-small; font-family:Consolas"&gt;&lt;font face="Consolas" size="2"&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="ftp://ftp.getfile/"&gt;ftp.GetFile&lt;/a&gt;(&lt;span style="font-size:x-small; font-family:Consolas; color:#a31515"&gt;&lt;span style="font-size:x-small; font-family:Consolas; color:#a31515"&gt;&lt;span style="font-size:x-small; font-family:Consolas; color:#a31515"&gt;&amp;quot;cqb.exe&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small; font-family:Consolas"&gt;&lt;span style="font-size:x-small; font-family:Consolas"&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small; font-family:Consolas; color:#a31515"&gt;&lt;span style="font-size:x-small; font-family:Consolas; color:#a31515"&gt;&lt;span style="font-size:x-small; font-family:Consolas; color:#a31515"&gt;&amp;quot;c:\a\cqb.exe&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small; font-family:Consolas"&gt;&lt;span style="font-size:x-small; font-family:Consolas"&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small; font-family:Consolas; color:#0000ff"&gt;&lt;span style="font-size:x-small; font-family:Consolas; color:#0000ff"&gt;&lt;span style="font-size:x-small; font-family:Consolas; color:#0000ff"&gt;True&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small; font-family:Consolas"&gt;&lt;span style="font-size:x-small; font-family:Consolas"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Any idea?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;/div&gt;</description><author>etxebe</author><pubDate>Sun, 09 Dec 2012 20:29:38 GMT</pubDate><guid isPermaLink="false">New Post: windows 8 problem 20121209082938P</guid></item><item><title>Created Issue: Time zone conflict between client.GetDirectoryList() and client.GetFileModificationTime() [10621]</title><link>http://ftplib.codeplex.com/workitem/10621</link><description>The GetDirectoryList&amp;#40;&amp;#41; function returns FileCreationTime values in the FTP server&amp;#39;s time zone. However, the GetFileModificationTime&amp;#40;&amp;#41; function returns the time in the local time zone. This can be a problem if trying to determine whether to keep a file on an FTP server in a different time zone.&lt;br /&gt;&lt;br /&gt;The most intuitive expectation would be to return all values in the FTP server&amp;#39;s time zone.&lt;br /&gt;</description><author>NightOwl888</author><pubDate>Fri, 23 Nov 2012 08:33:16 GMT</pubDate><guid isPermaLink="false">Created Issue: Time zone conflict between client.GetDirectoryList() and client.GetFileModificationTime() [10621] 20121123083316A</guid></item></channel></rss>