Hi,
I am trying to use the above Active X control to download a file from an FTP Server.
I am using the Following code.
lcURL="FTP://mell"
lcCommand="GET NewStock.csv c:\NewStock.CSV"
Thisform.Inet1.Execute (lcURL,lcCommand)
DO WHILE Thisform.Inet1.stillExecuting=.T.
WAIT WINDOW "Recieving File" NoWait
ENDDO
lcResult=THISFORM.Inet1.GetChunk(64000)
Messagebox(lcResult)
I have tested annonymous access to the FTP Server using IExplorer, with no problems.
When I run the code, I can see the current session registered on the FTP Server in IIS Manager, but the file download never terminates.
Many thanks for any comments.
Graham
G K Bray Programmer
I am trying to use the above Active X control to download a file from an FTP Server.
I am using the Following code.
lcURL="FTP://mell"
lcCommand="GET NewStock.csv c:\NewStock.CSV"
Thisform.Inet1.Execute (lcURL,lcCommand)
DO WHILE Thisform.Inet1.stillExecuting=.T.
WAIT WINDOW "Recieving File" NoWait
ENDDO
lcResult=THISFORM.Inet1.GetChunk(64000)
Messagebox(lcResult)
I have tested annonymous access to the FTP Server using IExplorer, with no problems.
When I run the code, I can see the current session registered on the FTP Server in IIS Manager, but the file download never terminates.
Many thanks for any comments.
Graham
G K Bray Programmer