Example of FTP transfer of exported file

This example needs the third party program curl.exe. This is an opensource commandline utility to do FTP transfers. It is distrubuted with Aiolos.

set FIL=%2

rem (Clean all the ” around import protocol name)

set FIL=%FIL:"=%  echo %FIL%

curl -u UserName:Password -T "C:\Aiolos\Aiolos\Data\Basdata\%FIL%.el" ftp://ftp.vitec.se/FolderName/%FIL%.el