>Hi all
>
>I'm using the FTP class for vfp5.0, i would like to fill the listbox(lstSource) with the files that start with EMP into the list box(mover list box) and how to copy the files when user have moved to Destination listbox to actual directory of the harddisk.
Most of the moverboxes I've seen (I think there's a lot of samples everywhere, even shipping with VFP, or here on UT downloads) work with two arrays - source and target. Target array would probably be empty, one-row to begin with, while the source array can be made like this:
aDir(aSource, forcepath("emp*.*", cSourceDir))
Then it's just a matter of passing this array to your moverbox. Or you can have this line in the .init of the box, then set the rowsource of the left listbox to this array (in which case the array better be a property of the form) and requery the listbox.