You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Alex Harui <ah...@adobe.com> on 2013/06/25 19:41:56 UTC
Re: [jira] [Closed] (FLEX-33587) Web FTP connection issue
Testing email reply to JIRA issues
On 6/25/13 9:24 AM, "Alex Harui (JIRA)" <ji...@apache.org> wrote:
>
> [
>https://issues.apache.org/jira/browse/FLEX-33587?page=com.atlassian.jira.p
>lugin.system.issuetabpanels:all-tabpanel ]
>
>Alex Harui closed FLEX-33587.
>-----------------------------
>
>
>Closing
>
>> Web FTP connection issue
>> ------------------------
>>
>> Key: FLEX-33587
>> URL: https://issues.apache.org/jira/browse/FLEX-33587
>> Project: Apache Flex
>> Issue Type: Bug
>> Affects Versions: Adobe Flex SDK 4.0 (Release)
>> Environment: Window 7 (64 bit)
>> Reporter: Bharat
>> Assignee: Alex Harui
>> Labels: as, flex, flex4.0, socket
>> Fix For: Adobe Flex SDK 4.0 (Release)
>>
>> Original Estimate: 12h
>> Remaining Estimate: 12h
>>
>> I am creating an web ftp example using flex 4.0, when i run the
>>application from development environment (from flex) its connecting ftp
>>server perfectly and working fine. But when trying to connect FTP server
>>from release build version of application. Its not working.
>>
>> What could be the possible reason to stop connecting FTP server from
>>flex web ftp request?
>>
>> On FTP connection request receive error:
>>
>> Command socket error: [SecurityErrorEvent type="securityError"
>>bubbles=false cancelable=false eventPhase=2 text="Error #2048: Security
>>sandbox violation: http://localhost/YemoWebFTP/WebFTP.swf cannot load
>>data from 10.0.2.197:21]
>>
>> Also using crossdomain.xml as follow:
>>
>> <?xml version="1.0"?>
>> <!DOCTYPE cross-domain-policy SYSTEM
>>"/xml/dtds/cross-domain-policy.dtd">
>> <!-- Policy file for xmlsocket://socks.example.com -->
>> <cross-domain-policy>
>>
>> <site-control permitted-cross-domain-policies="all"/>
>>
>> <!-- Instead of setting to-ports="*",administrators can use ranges
>>and commas -->
>> <allow-access-from domain="*" secure="true" to-ports="21,80, 843,
>>1024-3000" />
>>
>> <allow-http-request-headers-from domain="*" headers="*"/>
>>
>> </cross-domain-policy>
>>
>>
>> And from application before connection request to FTP server
>>
>> Security.loadPolicyFile("http://10.0.2.197/crossdomain.xml");
>>
>> Additionaly, also tried:
>>
>> Security.allowDomain("*");
>> Security.loadPolicyFile("xmlsocket://10.0.2.197");
>>
>> Thanks in advance.
>>
>> Bharat
>
>--
>This message is automatically generated by JIRA.
>If you think it was sent incorrectly, please contact your JIRA
>administrators
>For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [jira] [Closed] (FLEX-33587) Web FTP connection issue
Posted by OmPrakash Muppirala <bi...@gmail.com>.
Looks like the issue is fixed. I got just one email at issues.
Thanks,
Om
On Tue, Jun 25, 2013 at 10:41 AM, Alex Harui <ah...@adobe.com> wrote:
> Testing email reply to JIRA issues
>
> On 6/25/13 9:24 AM, "Alex Harui (JIRA)" <ji...@apache.org> wrote:
>
> >
> > [
> >
> https://issues.apache.org/jira/browse/FLEX-33587?page=com.atlassian.jira.p
> >lugin.system.issuetabpanels:all-tabpanel ]
> >
> >Alex Harui closed FLEX-33587.
> >-----------------------------
> >
> >
> >Closing
> >
> >> Web FTP connection issue
> >> ------------------------
> >>
> >> Key: FLEX-33587
> >> URL: https://issues.apache.org/jira/browse/FLEX-33587
> >> Project: Apache Flex
> >> Issue Type: Bug
> >> Affects Versions: Adobe Flex SDK 4.0 (Release)
> >> Environment: Window 7 (64 bit)
> >> Reporter: Bharat
> >> Assignee: Alex Harui
> >> Labels: as, flex, flex4.0, socket
> >> Fix For: Adobe Flex SDK 4.0 (Release)
> >>
> >> Original Estimate: 12h
> >> Remaining Estimate: 12h
> >>
> >> I am creating an web ftp example using flex 4.0, when i run the
> >>application from development environment (from flex) its connecting ftp
> >>server perfectly and working fine. But when trying to connect FTP server
> >>from release build version of application. Its not working.
> >>
> >> What could be the possible reason to stop connecting FTP server from
> >>flex web ftp request?
> >>
> >> On FTP connection request receive error:
> >>
> >> Command socket error: [SecurityErrorEvent type="securityError"
> >>bubbles=false cancelable=false eventPhase=2 text="Error #2048: Security
> >>sandbox violation: http://localhost/YemoWebFTP/WebFTP.swf cannot load
> >>data from 10.0.2.197:21]
> >>
> >> Also using crossdomain.xml as follow:
> >>
> >> <?xml version="1.0"?>
> >> <!DOCTYPE cross-domain-policy SYSTEM
> >>"/xml/dtds/cross-domain-policy.dtd">
> >> <!-- Policy file for xmlsocket://socks.example.com -->
> >> <cross-domain-policy>
> >>
> >> <site-control permitted-cross-domain-policies="all"/>
> >>
> >> <!-- Instead of setting to-ports="*",administrators can use ranges
> >>and commas -->
> >> <allow-access-from domain="*" secure="true" to-ports="21,80, 843,
> >>1024-3000" />
> >>
> >> <allow-http-request-headers-from domain="*" headers="*"/>
> >>
> >> </cross-domain-policy>
> >>
> >>
> >> And from application before connection request to FTP server
> >>
> >> Security.loadPolicyFile("http://10.0.2.197/crossdomain.xml");
> >>
> >> Additionaly, also tried:
> >>
> >> Security.allowDomain("*");
> >> Security.loadPolicyFile("xmlsocket://10.0.2.197");
> >>
> >> Thanks in advance.
> >>
> >> Bharat
> >
> >--
> >This message is automatically generated by JIRA.
> >If you think it was sent incorrectly, please contact your JIRA
> >administrators
> >For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>