| Show FTP upload setup
|  StrongED developers

| Unset all FTP vars except SiteScript
Unset StrongED$FTP_*

| Ensure that an FTP environment has been set up
IfThere <FTPupload$Dir>.SiteScript Then Else <FTPupload$Dir>.Tools.FTPerror 1 

| Ensure localpath and localname point to file to upload
Set StrongED$FTP_LocalName "<Tmp$Leaf>"
Set StrongED$FTP_LocalPath "<Tmp$Path>"

| Run the SiteScript to set remote site variables
Obey <FTPupload$Dir>.SiteScript

| Ensure that the remote paths are proper unix names
Run <FTPupload$Dir>.Tools.Unixify

| Show the variables for the current site
Show StrongED$FTP_*

| Unset all FTP vars except SiteScript
Unset StrongED$FTP_*
