Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Secure FTP
Message
From
15/01/2005 18:46:26
Brian Ferguson
Sci-fer Computing
Australia
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows 2000
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00974437
Message ID:
00977516
Views:
46
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
Map
View

Click here to load this message in the networking platform