Information générale
Catégorie:
Produits tierce partie
Versions des environnements
Network:
Windows 2000 Server
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement