View Single Post
  #3 (permalink)  
Old 02-11-2009, 08:09 AM
hackmetal hackmetal is offline
Junior Member
 
Join Date: Oct 2008
Posts: 9
Default

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!
Reply With Quote