Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sync 2 computers not on a net
Message
De
14/11/1999 11:59:40
 
 
À
14/11/1999 10:18:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00290898
Message ID:
00291109
Vues:
38
Ed,

Thanks for the reply. I think that I will set up a network for this. DSS is a PITA. This way I can use my portable to connect at work and at home. We use 10BaseT at work so I guess this might be the way to go.

Thanks for the help

>>Ed,
>>
>>In the long run do you think that I might be better if I set up a small W98 network to do the file transfers? DCC seems to lock up the computers alot. I would prefer to use VFP to coordinate the files between computers.
>>
>
>Regardless of whether you sert up an Ethernet-based network, or use one of the USB-based home networking packages, or RAS or third-party PC connectivity tools, if you want to do the work with VFP, a compliant, stable network is certainly the best alternative.
>
>Ask yourself the following question: How much time have you spent jerking around trying to get DCC to work for you? If you never have to connect more than two computers, the cost of setting up a small MSNetwork boils down to (at the low end) a couple of $15-20 NICs and a crossover cable for 10BaseT, or a piece of coax, a couple T connectors and a couple of terminators. Compare that to the time already spent, and realize that the speed of a 10Mbps EtherNet is two orders of magnitude better than DCC over a serial port.
>
>If at some point, a third machine needs to be added, DCC becomes untenable, while a simple Ethernet requires at most the addition of a cheap hub (I'd get a hub even with just two machines) and a cable, or in the case of ThinNet, a section of coax and a T-connector.
>
>VFP is not well-suited to the task of writing very low-level comms, device drivers and the lot. It has a decent understanding of file systems, and with the addition of something like the WSH's Scripting.FileSystem Object, can get all the basic copy/move/delete functionality you're likely to need for file and folder operations.
>
>>Thanks
>>
>>>>Is there a way to sync files on two computers using a null modem cable with API from VFP? I tried using DirectCC but it crashes alot. So If I can read a directory on another computer from VFP via the null modem cable it will be easy to do the file sync from VFP.
>>>>
>>>
>>>You need to make a network connection between the two machines - DCC is just another networking mechanism. VFP relies on the networking APIs, whether provided by a dedicated LAN, DCC or RAS to work with files on another computer. It doesn't have any inherent ability to drive a serial connection any better than DCC would have.
>>>
>>>You might want to investigate a package like PC AnyWhere; it allows for similar functionality to DCC as well as remote control, and comes with a cable to make connections via the parallel port, which would be considerbly faster than via serial null modem connections.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform