I'm trying to download word document files from a web server to the user's local drive in a predefined directory (C:\Docs).
the following code works but saves the file on the server as the webform is running on the server.
oFTP.LicenseOwner = "Owner"
oFTP.LicenseKey = "111-1111-1111-1000"
oFTP.ServerAddress = "server.com"
oFTP.ServerPort = 21
oFTP.UserName = "_user"
oFTP.Password = "_pwd"
oFTP.Connect()
oFTP.ChangeWorkingDirectory("level1")
oFTP.ChangeWorkingDirectory("Level2")
oFTP.DownloadFile("C:\Docs\125-dd.doc", "dd.doc")
oFTP.Close()
Any recomendation on how to get this to work?
Mike Mortazavi