Code in this template looks now as this.
#if(%DownloadTheFile=0)
LocNETFTPQ.LocalFile = sub(%LocalPath,x+1,len(%LocalPath) - ftpx)
LocNETFTPQ.UseTempFile = band(%RtnParStr,NetFTP:UseTempFile)
LocNETFTPQ.Action = ftp:ActionUpload
#else
LocNETFTPQ.Remotefile = sub(%LocalPath,x+1,len(%LocalPath) - ftpx)
LocNETFTPQ.Action = ftp:ActionDownload
#endif
Someone change x into ftpx but did not done change through all code and it cause error in compiling time so make I made change this code into
LocNETFTPQ.LocalFile = sub(%LocalPath,ftpx+1,len(%LocalPath) - ftpx)
and everything works well.
Best regards,
Djordje Radovanovic