Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Secure FTP
Message
De
15/01/2005 18:46:26
Brian Ferguson
Sci-fer Computing
Australie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows 2000
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00974437
Message ID:
00977516
Vues:
45
Hi,
I have been using winsp3 with good results to a unix server. You can record a winsp3 'session' with connection details and desired remote and local folders selected, then use the run command from foxpro to run a bat file.
ie RUN /N "\Program Files\Winscp3\yourbatfile.bat".

The bat file contains the winsp3 session to open (ie "your_saved_session") as follows: winscp3 your_saved_session "/script=C:\Program Files\WinSCP3\your.txt"
The textfile "your.text" can contain specific info such as synchronize remote folder with local one which causes new files to be copied from local to remote etc. You see the session open in command window and files being copied then session closed.

The textfile "your.txt" looks like:
option batch on
option confirm off
option synchdelete off
synchronize remote ServerPath (ie ~\files) LocalPath (ie ~/files)
exit

Regards,
B Ferg
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform