Joe,
>Thanks for responding. I am trying to send Insurance claim information for a pharmacy application via TCP/IP. I am not sure if this solution you propose will work for me. I would also like to use WinSock directly if I can because it's free. ;-) I am little fuzzy on this whole thing so if you can enlighten me I'd appreciate it.
As I said before, I *highly* recommend that you get wwIPSTUFF from West Wind. It's then as simple as a line or two to SET PROCEDURE TO the library files, and then
o=create('wwFTP')
o.FTPGetFile('ftp.west-wind.com','/downloads/pkzip.exe',;
'c:\temp\pkzip.exe')
From the West Wind docs:
Syntax:
o.FTPGetFile(cServer,cSourceFile,cTargetFile,cUsername,cPassword)
Parameters: cServer
The server to connect to. Example: ftp.west.wind.com or 123.123.123.213
cSourceFile
Source File on the FTP Server.
cTargetFile
Target file on the local system.
cUsername
Optional - Username when connecting to a secure directory.
cPassword
Optional - Password when connecting to a secure directory
It's just as simple to Send files. Get it and save yourself time and money.