This is my second response. Bear with me :-)
If the site is using a non-compliant means of security, the following may work. Create a batch file called FTPGET.BAT. The contents of this file look like:
ftp -i -n -s:ftpscr
ftpsiteAnother file, FTPSCR (no extension) is composed of the following
user
username passwordget
'REMOTEFILEWITHPATH' LocalFilePathNamequit
Note the lack of caps in the username and password and all CAPS in the host file name (include the dir or dataset path as well in the name. You also need to run this script via the batch file or the FTP DOS screen will be left hanging around for the user to manually close.
>The following is my first attempt at using the Internet Transfer Control. When it gets to the EXECUTE command ... it halts with message Unable to access URL. I know the URL is correct because I highlighted it in the code and pasted it into the Address line and it worked. Any idea of what could be wrong here or suggest a next step in figuring this out ?
>
>
>
>cURL = "
ftp://SomePlace.com/"; && Fictitious
>cCommand = "GET PRICE.EXE"
>oInet = createObject("InetCtls.Inet.1")
>inkey(1)
>oInet.Username = "555555"
>oInet.Password = "3333"
>oInet.RequestTimeout = 20
>oInet.Execute(cURL,cCommand)
>inkey(15)
>release oInet
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05