Connect Method Problem - Syntax error, command u (General questions)
Hi,
I'm doing a service call on an exiting system that uses the wodFtpDLX.dll inside a VB Script. The system has suddenly stopped working and generates a Syntax error, command unrecognized Code: 800A9E34 when the CONNECT method is called.
The system has been working for over 12 months and has suddenly stopped working.
Here is an extract of the VB Script.
nFilesUploaded = 0
objFTP.LicenseKey = ****-****-****-****
objFTP.Hostname = ftps.******.com
objFTP.Login = userid
objFTP.Password = password
objFTP.Protocol = 3
objFTP.Blocking = 1
objFTP.Connect
objFTP.RemotePath = dropof
objFTP.TransferMode = 0
Set folder = ObjFSO.GetFolder(sFolder)
Set files = folder.Files
For each folderIdx In files
objFTP.PutFile sFolder & folderIdx.Name, dropof & userid & _ & folderIdx.Name
wscript.echo Uploading file: & folderIdx.Name
nFilesUploaded = nFilesUploaded + 1
Set fDelete = objFSO.GetFile(sFolder & folderIdx.Name)
fDelete.delete
Next
wscript.echo Total Files uploaded: & nFilesUploaded
SessFile.WriteLine( Total Files uploaded: & nFilesUploaded)
objFTP.Disconnect
Set objFTP = Nothing
wscript.echo End of FTP Upload session.
sessFile.WriteLine
sessFile.WriteLine( Finishing FTP Upload session at & now())
Set sessFile = Nothing
Set objFSO = Nothing