Subject Re: Direct copy instead of ftp
From Charlie <trainman@traincity.com>
Date Thu, 29 Sep 2016 03:43:29 -0400
Newsgroups dbase.getting-started

Hi Ken...

Due to a work load I haven't been able to do much about this but I understand what you said about the source code and I will work on that.  Also the .cc files.. They should be in the same directory?

Possibly my objective is not in my realm of reach on this.  What I would like to do is within my own code on certain criteria, automatically ftp to our site.  I don't want to have to put in a password as I would hope there is a way of having that automatic.

I have this coded now so that under the certain criteria a picture is copied to a certain local directory.  Once done processing the pictures into that directory, they are manually ftp'd to our remote server.  This is not extremely time consuming or complicated.  But human error or forgetfulness could be a problem. If I could automate this it would be better.

What I'm wondering am I wasting my time in trying to auto ftp?  Is this going to be a hair loss procedure for me a guy who is more or less a beginner in oodml?

btw in the form in which I placed an ftp object? on,  the properties are all null in native object.  They will not change and I don't understand that at all.

Thanks for your input....


Ken Mayer Wrote:

> On 9/27/2016 5:47 PM, Charlie wrote:
> > Hi Ken..
> >
> > Please excuse my stupidity for asking these questions but I am clueless.
> >
> > I purchased your new book (plus)  that you suggested in reference to my ftp question last week.
> >
> > I found the ftp component and tried putting it on a form and can't make head or tales with it.
> >
> > When I went into the nativeObject All I saw was a bunch of properties of which most were null.  I tried changing to true or false and nothing happened.  So I do not understand this.
> >
> > I did read your book on the two pages in which were on the ftp subject but it was not clear as to what one was to do to figure this out.
> >
> > I downloaded the source code on your web page which was associated to the ftp form in your book.  As a matter of fact I copied and pasted it into dbase (10).  The form comes up blank.
> >
> > So I am back to square one with this.  I don't have a clue how to proceed with this.  Any help other than telling me to read the book?
>
> By the way, don't just "copy and paste" the code, copy the source file
> and make sure you have the *other* files that are required. In the form,
> if you open it in the source code editor, it notes in the comments at
> the top, that there are files it is dependent on. Copy those over as
> well (PasswordMaskEF.cc and Ini.cc -- the activeX controls should be
> installed and ready to be used).
>
> The attached form shows what it should look like when it opens if
> everything is in place. You need to fill in the information in the
> entryfields filled in in red. The default port for FTP is 21, so type
> that in ...
>
> 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
>