|
|||
|
Hello =)
Do you know if it's possible to use Inet.ftp in as3 ? I tried this code : import SWFKit.*; import SWFKit.application.*; import SWFKit.inet.*; .... var inet:Inet=new Inet(); var ftp = inet.openFtp("ftp://exoa.fr","21","LOGIN","PASS"); ftp.connect(); Flash returns that ftp is null Can someone help me a little ? Thank's a lot =)) |
|
|||
|
yes !!
finally it works like that : //var inet:Inet=new Inet(); ftp = Inet.openFtp("ftp://exoa.fr",21,"exoa","exoa4ever"); ftp.connect(); try{ g.trace(ftp.currentDir); g.trace("yes"); }catch(e:*){ g.trace("no"); } I don't know why we havn't to instanciate Inet, but.. thank you for your help =) the second parameter is actually a number and not a string! |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|