Tech Tip

How do you FTP from within your MultiValue Business Application? The following solution is an extract from a post David Ehrhart.

You take data and format it how ever you need. You then write it out using the UOPEN / UWRITE statements in Basic - putting it where ever you need it on the Server / PC.

They then run a FTP Script from within basic by:
EXECUTE "sh FTP -s:xxx.scr -d"

The xxx.scr (Script) looks like:
open ftp.<site>.com
<username>
<password>
ascii
put d:\directory\fname.dat
bye

menu
menu