<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to Upload Files in Flex FTP</title>
	<atom:link href="http://ntt.cc/2009/08/23/how-to-upload-files-in-flex-ftp.html/feed" rel="self" type="application/rss+xml" />
	<link>http://ntt.cc/2009/08/23/how-to-upload-files-in-flex-ftp.html</link>
	<description>Flex,Flash,Ajax and Freebie Resource for Developers and Designers</description>
	<lastBuildDate>Fri, 30 Jul 2010 04:23:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: saj</title>
		<link>http://ntt.cc/2009/08/23/how-to-upload-files-in-flex-ftp.html/comment-page-1#comment-11861</link>
		<dc:creator>saj</dc:creator>
		<pubDate>Tue, 20 Jul 2010 06:57:58 +0000</pubDate>
		<guid isPermaLink="false">http://ntt.cc/2009/08/23/how-to-upload-files-in-flex-ftp.html#comment-11861</guid>
		<description>Hi,

I need to do ftp to different ftp locations of the users. It worked fine from my local machine. But when I deployed it on my server it gave SecurityError–&gt;Error #2048: Security sandbox violation: http://myServer.com/header.swf cannot load data from myuserftp.com:21.

I kept crossdomain.xml in server root directory and its accessible with http://myServer.com/crossdomain.xml but still the security error is thrown.

Do I need to anything else on flex side like loading the crossdomain.xml on application init etc.Any ideas?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I need to do ftp to different ftp locations of the users. It worked fine from my local machine. But when I deployed it on my server it gave SecurityError–&gt;Error #2048: Security sandbox violation: <a href="http://myServer.com/header.swf" rel="nofollow">http://myServer.com/header.swf</a> cannot load data from myuserftp.com:21.</p>
<p>I kept crossdomain.xml in server root directory and its accessible with <a href="http://myServer.com/crossdomain.xml" rel="nofollow">http://myServer.com/crossdomain.xml</a> but still the security error is thrown.</p>
<p>Do I need to anything else on flex side like loading the crossdomain.xml on application init etc.Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saj</title>
		<link>http://ntt.cc/2009/08/23/how-to-upload-files-in-flex-ftp.html/comment-page-1#comment-8547</link>
		<dc:creator>saj</dc:creator>
		<pubDate>Tue, 25 May 2010 09:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://ntt.cc/2009/08/23/how-to-upload-files-in-flex-ftp.html#comment-8547</guid>
		<description>Hi rkstar,

What do you mean by writting a daemon on the server that would listen on another port for a PID? Can you please explain?</description>
		<content:encoded><![CDATA[<p>Hi rkstar,</p>
<p>What do you mean by writting a daemon on the server that would listen on another port for a PID? Can you please explain?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rkstar</title>
		<link>http://ntt.cc/2009/08/23/how-to-upload-files-in-flex-ftp.html/comment-page-1#comment-7983</link>
		<dc:creator>rkstar</dc:creator>
		<pubDate>Thu, 06 May 2010 11:42:47 +0000</pubDate>
		<guid isPermaLink="false">http://ntt.cc/2009/08/23/how-to-upload-files-in-flex-ftp.html#comment-7983</guid>
		<description>the command socket won&#039;t get the completed response until the data socket is closed.  i struggled with this for a long time and ended up writing a daemon on the server that would listen on yet another port for a PID.  the PID is of the data connection and my daemon would kill it prompting the 226 response from the command socket.

the Socket.CLOSED event is never fired.</description>
		<content:encoded><![CDATA[<p>the command socket won&#8217;t get the completed response until the data socket is closed.  i struggled with this for a long time and ended up writing a daemon on the server that would listen on yet another port for a PID.  the PID is of the data connection and my daemon would kill it prompting the 226 response from the command socket.</p>
<p>the Socket.CLOSED event is never fired.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saj</title>
		<link>http://ntt.cc/2009/08/23/how-to-upload-files-in-flex-ftp.html/comment-page-1#comment-7980</link>
		<dc:creator>saj</dc:creator>
		<pubDate>Thu, 06 May 2010 10:28:35 +0000</pubDate>
		<guid isPermaLink="false">http://ntt.cc/2009/08/23/how-to-upload-files-in-flex-ftp.html#comment-7980</guid>
		<description>Hi,

After the transfer is complete I want to inform the user that the transfer is complete and also close the ftp connection. Can I know how to achieve it. I tried with response 226 for transfer complete but I never got it. I checked with my ftp location and the files are getting transferred without any problem.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>After the transfer is complete I want to inform the user that the transfer is complete and also close the ftp connection. Can I know how to achieve it. I tried with response 226 for transfer complete but I never got it. I checked with my ftp location and the files are getting transferred without any problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saj</title>
		<link>http://ntt.cc/2009/08/23/how-to-upload-files-in-flex-ftp.html/comment-page-1#comment-7963</link>
		<dc:creator>saj</dc:creator>
		<pubDate>Thu, 06 May 2010 05:19:58 +0000</pubDate>
		<guid isPermaLink="false">http://ntt.cc/2009/08/23/how-to-upload-files-in-flex-ftp.html#comment-7963</guid>
		<description>Thanks Keith,

It worked for me. Now I am trying to do things one by one and things are fine. I changed to

case &quot;220&quot; : 
                   //FTP Server ready responce 
                 break; 
       case &quot;331&quot; : 
                 //User name okay, need password 
                 this.passWord(pass);
                 break; 
    case  &quot;230&quot;: 
                  //User  logged in 
              	this.changeDirectory(&quot;/myDirectory/&quot;);
                break; 
    case &quot;250&quot; : 
                //CWD command successful
               s.writeUTFBytes(&quot;PASV\n&quot;); 
		s.flush();
                break; 
       case &quot;227&quot; : 
                     //Entering Passive Mode (h1,h2,h3,h4,p1,p2). 
                   break; 
       case &quot;226&quot; :
       		break;</description>
		<content:encoded><![CDATA[<p>Thanks Keith,</p>
<p>It worked for me. Now I am trying to do things one by one and things are fine. I changed to</p>
<p>case &#8220;220&#8243; :<br />
                   //FTP Server ready responce<br />
                 break;<br />
       case &#8220;331&#8243; :<br />
                 //User name okay, need password<br />
                 this.passWord(pass);<br />
                 break;<br />
    case  &#8220;230&#8243;:<br />
                  //User  logged in<br />
              	this.changeDirectory(&#8220;/myDirectory/&#8221;);<br />
                break;<br />
    case &#8220;250&#8243; :<br />
                //CWD command successful<br />
               s.writeUTFBytes(&#8220;PASV\n&#8221;);<br />
		s.flush();<br />
                break;<br />
       case &#8220;227&#8243; :<br />
                     //Entering Passive Mode (h1,h2,h3,h4,p1,p2).<br />
                   break;<br />
       case &#8220;226&#8243; :<br />
       		break;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
