General information
Category:
Third party products
Environment versions
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only