I've inherited some code for downloading from an unsecure FTP site, which outputs results received from the server to an output file. The code uses the basic Microsoft FTP client.
The source of the data has decided they want to migrate to "Explicit FTP" and has setup a test site for me to use to download files. I've developed a script which performs the download operation:
strRun = """" & ftpAppPath & """" & "-O -site savedProfileName -d " & ftpRemoteDir & ftpRemoteFile & "-p " & ftpLocalDir
shell.Run strRun, 0, TRUE
But now I want to duplicate the original code which records messages received from the FTP site to an output file and am uncertain of the syntax for doing that.
Additionally, the original code I received reads the data from the output file and tests for a variety of codes received from the server during the download. Are the codes used by CoreFTP the same as those used by the Microsoft FTP application? If so, where would I get a list of those codes and their meanings.
Thanks for your help
Scripting file download, getting download results
Log All Activity
In Core FTP LE, there is an option for "Log all activity" which allows the user to set the output location for the connection and transfer process.
Is there a way to change this value via a command line prompt?
If not, is there a Settings file which could be edited programmatically to change this value at run-time?
Is there a way to change this value via a command line prompt?
If not, is there a Settings file which could be edited programmatically to change this value at run-time?