|
|||
|
I've made a program wich saves variables to a textfile in a format the standard flashplayer can read with loadvariables.
Is it possible for swfkit to upload the textfiles to the internet using ftp (or are there other ways?). Can I upload the swfkit-program to work on the internet directly. So could be able to run the program from any pc with internet acces. |
|
|||
|
Hi.
I bought swfkit this morning ! (finally found the funds for it) Could you help me with the ActiveX who for ftp? Thanks for all. meester Kurt meester.kurt@belgacom.net |
|
|||
|
The ActiveX object can be found at here
http://www.swfkit.com/download/Indy.zip It's just a package of the Indy 9.0 FTP component, which can be found at here http://www.nevrona.com/Indy/dowload/index.html You can also download help files and demos *from the site. |
|
|||
|
Usage:
Register the object first, ActiveXObject.register('IndyObj.dll'); Code:
var ftp = new ActiveXObject('IndyObj.FTPObj');
trace(ftp);
ftp.OnStatus = function (s,t)
{
trace(t);
}
ftp.Host = 'ftp.myftp.com';
ftp.username = 'myname';
ftp.password = 'mypass';
ftp.Connect();
ftp.list();
var dl = ftp.DirectoryListing;
trace(dl);
trace(dl.Count());
for (i = 0; i < dl.count(); i++)
{
var item = dl[i];
dl.parse(2, item);
trace(dl.IndexOf(item));
trace(item.FileName);
}
ftp.changedir('/pub');
ftp.put('c:\\myfile.txt', 'myfile.txt');
ftp.disconnect();
|
|
|||
|
I see at the board that you often write activeX components.
Can all ActiveX components that you can download on the internet be used that way with swfkit. Do you know a place where I can learn more about that way of using Swfkit and ActiveX. |
|
|||
|
Quote:
It depends on which type of activex you choose to use, normaly every kind of activex has it's own manual,u can find them in their official web sites. |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|