Subject Re: Direct copy instead of ftp
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Wed, 28 Sep 2016 14:26:42 -0700
Newsgroups dbase.getting-started

On 9/28/2016 12:55 PM, Mervyn Bick wrote:
> On 28-Sep-16 9:17 PM, Ken Mayer wrote:
>
>> I don't have multiple drives to test on, but try adding this into the
>> form's onOpen event handler (around line 1188):
>>
>>       // see about localFolderControl's local drive issues:
>>       oLocalFolder = form.localFolderControl.nativeObject
>>       oLocalFolder.directory = set("dire")
>>
>> Does that solve that particular issue? Just wondering. I don't get an
>> error when I do it ...
>
> I tried doing just that and it didn't work for me.  I've now created
> test forms in two different folders and each time the control has picked
> up the working directory.  I have been able to change the control's
> directory property without a problem.
>
> I have no idea where the c:\ came from as it doesn't appear when I place
> the control on a new form.
>
> All it needs now is to persuade the socket control that I am licensed to
> use it to FTP. :-)

Hmm. When you drop a fresh version of the control on a form, compare these:

this.FTPCONTROL = new ACTIVEX(this)
    with (this.FTPCONTROL)
       height = 28.0
       left = 751.0
       top = 2.0
       width = 28.0
       state = "BBBLBBBBPGBDBBBBPGBDBBBB"
       classId = "{55DB287E-3C1E-45AE-8244-9D4A8E264407}"
    endwith

Maybe the state or classID don't match ...?

Ken

--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm