Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
I can connect just fine (and retrieve file listings) from the command line. Even the CurrDir returns the expected values if I display it after its assigned.
Running WB 2001N on WinNT 4.0 Server SP5. WinInet Extender version was 25055 and the WININET version was 1.2
AddExtender("wwint34i.dll") TopHandle=iBegin(0,"","") ConHandle=iHostConnect(TopHandle,Server,@FTPPASSIVE, UserId,Pswd) if ConHandle==0 Message("ERROR","Unable to connect to host") exit endif CurrDir=iFtpDirGet(ConHandle) Init=iFtpFindInit(ConHandle,Src ,"*",@False,@False) CurrDir=iFtpDirGet(ConHandle) SrcLen=StrLen(CurrDir) if Init==0 Message("IFtpFindInit?","Failed") iClose(ConHandle) iClose(TopHandle) Goto Done endif
I had to switchover from Passive FTP to "regular" FTP due to the firewall rules being recently changed.
Article ID: W14806
File Created: 2017:07:28:12:58:47
Last Updated: 2004:01:16:07:40:33