mb
Product lifecycle: EOL
v3.0 Build 152 31. October 2011
v3.0 Build 152 31. October 2011
- API Change
- Function errors are now returned as HRESULT instead of an extra out variable (enumError).e.g.;OLD: enumError = ftpConnection.Connect();;NEW: ftpConnection.Connect(); // If there is an error an exception is usually thrown by the COM client;Error Handling:.NET (C#, VB.NET etc);Catch COMException exception:;try { ftp.Connect(); };catch(COMException e);{ e.Hresult; }VBScript;On Error Resume Next;objFTP.Connect();hr = Err.Number;On Error GoTo 0;If hr = 0 Then;
- FTPFXP: Completely rewrote class
- IFTPConnection
- ReadDirectory, ReadDirectoryFromCommand, Stat returning items in retval
- GetMLST returning item in retval
- GetFileSize returns file size in retval
- GetModifyTime returns time in retval
- Removed LastFileSize, LastPath, LastFileTime, LastItem, Items properties
- ISFTPConnection
- ReadDirectory returning items in retval
- Stat, LStat, StatEx returning item in retval
- ReadLink returning path in retval
- RealPath, RealPathEx returning path in retval
- Unified ISFTPItem and IFTPItem interface. Use IFTPItem instead of ISFTPItem. And FTPItem class instead of SFTPItem class respectively