[REBOL] Re: [FTP] patch
From: rotenca:telvia:it at: 20-Nov-2003 1:06
Beta version 2 for download:
do load-thru http://www.rebol.it/%7Eromano/ftp-patch.r
0.0.2 BETA version 19/11/03
New Features
- Experimental query which does not throw an error if file not found
The behaviour now should be the the same of a file-system port.
- chdir-check now uses the View 1.2.10 version (was View 1.2.8 version of
chdir in previous beta) (thanks Brett!)
- Added a new error for dir open in direct mode
- Added a new error for file open in skip mode
Original FTP bugs fixed (i hope):
- Added two try-catch to data-connnect (was catch)
- Added one try-catch to open for open-proto (was try)
- Moved cache-size in the handler object
- Globals word made locals: add-date digits no-newline ftp-nlist reduced
data-connect parse-dir-list
- Removed unuseful 'file field in /locals
Bugs in 0.0.1 beta version of the patch:
- Fixed 0.0.1 bug in close: now port set to none also if an error occurs in
closing port
This should fix the error reported by Brett about cached connections.
- new locals: locals
- sremove used in the remove function
- 'new-dir instead of 'dir in the open function (like in the original RT
code - was a typo)
And many cosmetic changes, as usual. :-)
---
Ciao
Romano