| Initiate an FTP upload
|  StrongED developers

| Ensure that an FTP enviroment has been set up
If "<StrongED$FTP_Provider>" = "" Then Error 0 Please run an obey file to set up FTP uploads

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

| Unset these to avoid accidental uploading to the wrong site
Unset StrongED$FTP_RemoteName
Unset StrongED$FTP_RemotePath
                            
| Ensure that the remote paths are proper unix names
Run <Obey$Dir>.Unixify

| Call the desired FTP provider to do the actual upload
If "<StrongED$FTP_Provider>" = "FTPc" Then <Obey$Dir>.FTPc
If "<StrongED$FTP_Provider>" = "cURL" Then <Obey$Dir>.cURL
