<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/synccmd/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/synccmd/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 08 Apr 2008 21:23:16 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/synccmd/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>from ftp with subdir "."</title><link>https://sourceforge.net/p/synccmd/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am trying to synchronise from ftp to file.&lt;/p&gt;
&lt;p&gt;It look like the "." directory is considered as a subdirectory on the ftp part.&lt;/p&gt;
&lt;p&gt;For example, with "from address" = "ftp://my_ftp_server.fr/test", I get the following result.&lt;/p&gt;
&lt;p&gt;Connecting to the FTP server: my_ftp_server.fr&lt;br /&gt;
Connected to my_ftp_server.fr&lt;br /&gt;
LIST /test/&lt;br /&gt;
LIST /test/.&lt;br /&gt;
LIST /test/./.&lt;br /&gt;
LIST /test/././.&lt;br /&gt;
LIST /test/./././.&lt;br /&gt;
LIST /test/././././.&lt;br /&gt;
LIST /test/./././././.&lt;br /&gt;
LIST /test/././././././.&lt;br /&gt;
LIST /test/./././././././.&lt;br /&gt;
LIST /test/././././././././.&lt;br /&gt;
LIST /test/./././././././././.&lt;br /&gt;
LIST /test/././././././././././.&lt;br /&gt;
LIST /test/./././././././././././.&lt;br /&gt;
LIST /test/././././././././././././.&lt;br /&gt;
LIST /test/./././././././././././././.&lt;br /&gt;
LIST /test/././././././././././././././.&lt;br /&gt;
LIST /test/./././././././././././././././.&lt;br /&gt;
LIST /test/././././././././././././././././.&lt;/p&gt;
&lt;p&gt;To correct this, I suggest that you change line 94 in "file_list.php":&lt;br /&gt;
Replace: if ($d == 'd')&lt;br /&gt;
By: if ( ($d == 'd') &amp;amp;&amp;amp; ($n != ".") &amp;amp;&amp;amp; ($n != "..") )&lt;/p&gt;
&lt;p&gt;Think you for this tool&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pat</dc:creator><pubDate>Tue, 08 Apr 2008 21:23:16 -0000</pubDate><guid>https://sourceforge.net9e8cdd6e02d60bbed8bc37df7a802b3b99f7f6cd</guid></item><item><title>--from and --to arguments always treated as FTP.</title><link>https://sourceforge.net/p/synccmd/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Note: I'm new so I don't know if I should put this under bugs or patches.&lt;/p&gt;
&lt;p&gt;Release:&lt;br /&gt;
1.0.071223 (English)&lt;/p&gt;
&lt;p&gt;Problem:&lt;br /&gt;
The --from and --to arguments doesn't interpret to the file or ftp protocols properly.&lt;/p&gt;
&lt;p&gt;Everything you enter in --from and --to will be treated as an FTP sync. Therefore, you cannot sync file to file or file to FTP unless you rename the directory to have an extension. (e.g. c:\folder.xxx)&lt;/p&gt;
&lt;p&gt;Reason:&lt;br /&gt;
There is a typo error in \include\strxx.php @ line 12.&lt;/p&gt;
&lt;p&gt;Solution:&lt;br /&gt;
Correct if ($str_n &amp;lt; $begins_with) to if ($str_n &amp;lt; $begins_with_n)&lt;/p&gt;
&lt;p&gt;I've attached the corrected the strxx.php.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">amir</dc:creator><pubDate>Fri, 07 Mar 2008 03:37:24 -0000</pubDate><guid>https://sourceforge.net5299295f108908c742b1f0ad9a4a8d3975c0e31d</guid></item></channel></rss>