Oct 13, 2004 #1 elck Programmer Joined Apr 19, 2004 Messages 176 Location NL I need to write a little prog in Delphi 7 that: 1. records a small .wav file (setting quality to low and mono) 2. ftp the resulting file to my website I have no experience with delphi (I am a VB PHP and assembly programmer) Can anyone get me started here please?
I need to write a little prog in Delphi 7 that: 1. records a small .wav file (setting quality to low and mono) 2. ftp the resulting file to my website I have no experience with delphi (I am a VB PHP and assembly programmer) Can anyone get me started here please?
Oct 13, 2004 #2 hilfy Active member Joined Oct 31, 2003 Messages 2,564 Location US For recording the .wav file, go to the search page for the Delphi Super pages at http://dsp.href.com/. Enter WAV and click on Delphi 7. You'll get a list of components that can be used to record .wav files. For FTP, I don't work in Delphi 7, so I'm not sure what's there, but there should be an FTP component available in the default Delphi install. -Dell Upvote 0 Downvote
For recording the .wav file, go to the search page for the Delphi Super pages at http://dsp.href.com/. Enter WAV and click on Delphi 7. You'll get a list of components that can be used to record .wav files. For FTP, I don't work in Delphi 7, so I'm not sure what's there, but there should be an FTP component available in the default Delphi install. -Dell
Oct 13, 2004 #3 gcaramia Programmer Joined Oct 30, 2003 Messages 185 Location IT FTP: In Indy Clients you can find component: TIdFTP. Put it on the form, set its properties: Host : the hostName (example: ftp.tecservice.com) UserName : userID for host Password : password for Host TransferType : ftBinary put a button on the form and type your code in it's onClick event: Code: procedure Tfdw.Button1Click(Sender: TObject); begin ftp1.Connect(); ftp1.Get('/FtpFolder/FileNAme.withExtension', 'c:\YourLocalForlder\LocalFileName.extension',true,false); ftp1.Disconnect; end; The last two flags means: the first one: canOverwrite the second one: Resume. You can use 'get' for download and 'put' for upload Hope this can help you Giovanni Caramia Upvote 0 Downvote
FTP: In Indy Clients you can find component: TIdFTP. Put it on the form, set its properties: Host : the hostName (example: ftp.tecservice.com) UserName : userID for host Password : password for Host TransferType : ftBinary put a button on the form and type your code in it's onClick event: Code: procedure Tfdw.Button1Click(Sender: TObject); begin ftp1.Connect(); ftp1.Get('/FtpFolder/FileNAme.withExtension', 'c:\YourLocalForlder\LocalFileName.extension',true,false); ftp1.Disconnect; end; The last two flags means: the first one: canOverwrite the second one: Resume. You can use 'get' for download and 'put' for upload Hope this can help you Giovanni Caramia
Oct 13, 2004 Thread starter #4 elck Programmer Joined Apr 19, 2004 Messages 176 Location NL Thanks guys, sounds great I will try that as soon as I have got rid of a virus I got downloading a soundrecorder from the net! Upvote 0 Downvote
Thanks guys, sounds great I will try that as soon as I have got rid of a virus I got downloading a soundrecorder from the net!