I think the most simple way to accomplish this is to create a file transfer file on pcanywhere, locate the file and point the scheduler to "trigger" the file at any given time. A while ago I did an small application in VFP that execute the file transfer file using the WSH.
Here's the code
cEnviar = Alltrim(c:\pcanywhere_file_location\file.chf)
oShell=CREATEOBJECT("WSCRIPT.SHELL")
oShell.Run(cEnviar, SW_NORMAL, .T.)
This example code works well on PC anywhere 9.0 but I think in PCA 10+ the file extension is different.
Enmanuel
>I am trying to upload some files from S. California to the North via pcAnywhere, because it has proven more reliable than over the company's T-1 mapped drive. Once the data gets there, we will massage it (update other files).
>
>The only problem I am having is in how to call a File Transfer in pcAnywhere. I want to call the pcAnywhere File Transfer from within a scheduler called TimeTarget from
www.runtimesoftware.com .
>
>Anyone got any G-2 on this?
>
>Cecil
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain