mkzw0ot4m0nk
Programmer
hey, i made a program that shows the current song that is being played on winamp and the song name uploads to my site. many of my friends want this program and i dont mind them using it but i have it configured for me. how can i make a configure form so they can enter there ftp stuff and click ok and it will then be configured for them? im using IdFTP heres the section of code for that.
IdFTP1.Host := 'ftp.myurl.com';
IdFTP1.User := 'myusername';
IdFTP1.Password := 'mypassword';
IdFTP1.Connect(true);
IdFTP1.ChangeDir('public_html/mystuff);
IdFTP1.Put('c:\currentsong.txt','currentsong.txt',false);
IdFTP1.Disconnect;
THANKS
IdFTP1.Host := 'ftp.myurl.com';
IdFTP1.User := 'myusername';
IdFTP1.Password := 'mypassword';
IdFTP1.Connect(true);
IdFTP1.ChangeDir('public_html/mystuff);
IdFTP1.Put('c:\currentsong.txt','currentsong.txt',false);
IdFTP1.Disconnect;
THANKS