NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Johan de Klerk on October 12, 2013, 02:20:01 AM
-
Hi Bruce,
I am getting an error since upgrading to 7.26 : Syntax Error: Unknown identifier: x"
In this line : LocNETFTPQ.Remotefile = sub(pLocalPath,x+1,len(pLocalPath) - ftpx)
I think it is related to: Change: FTP : NetTalkSendOndFTP extension template renamed variable x to ftpx.
Regards
Johan de Klerk
-
yes, the first x there should be ftpx.
you can correct it in NetTalk.Tpl
lines 5529 and 5533
LocNETFTPQ.LocalFile = sub(%LocalPath,x+1,len(%LocalPath) - ftpx)
should be
LocNETFTPQ.LocalFile = sub(%LocalPath,ftpx+1,len(%LocalPath) - ftpx)
and
LocNETFTPQ.Remotefile = sub(%LocalPath,x+1,len(%LocalPath) - ftpx)
should be
LocNETFTPQ.Remotefile = sub(%LocalPath,ftpx+1,len(%LocalPath) - ftpx)
Cheers
Bruce
-
Hi Bruce,
Thanks that fixed it.
Regards
Johan de Klerk