I believe you need to implement FTP functions in Actionscript first.
thanks, the problem is I don't know how to program with AS is there any such lib I can download ? I aloso don't know how to call AS lib with JS, should I follow this :
There are FTP clients written in ActionScript, such as FlexFTP (http://maliboo.pl/projects/FlexFTP/).
I downloaded FlexFTP but I can't run it under Flx Builder 3
Any idea how to use FlexFTP in my AIR application ?
I found another script :
I created a project in flex3 (with sdk 3.2),and have 2 errors :
fileRef.load(); >> uknown method "load()"
fileContents=fileRef.data as ByteArray; >> unknow property "data"
Si I imported all swc I found in my AIR SDK folder and the flex IDE shows no errors, but when I run the program, I have the same error message when:
1 > I select file to import
2 > I click on send button to send it te the FTP folder.
Whant is the problem ??
I found it : evry thing is ok after installer flash player 10 !
Now there is a new problem : when I upload file, the program semms to be stuck until the ftp server rise a timeout error and disconnect my ftp client !!!