Something just struck me, and I'm kind of late replying, so smack me on the side of the head if it's already been fixed. For instance: files: read ftp-dir foreach file files [delete join ftp-dir [file]] Wouldn't that attempt to delete . and .. not to mention subdirectories (which can result in a no-no - haven't tried it with REBOL)?
--Charles > From: "Henrik Mikael Kristensen" > > I'm getting a quota problem with two different ftp-servers, when I try to > manipulate (delete, write) the files on the ftp-server: > > > > ftp-dir: <some-ftp-server> > > > > files: read ftp-dir > > foreach file files [delete ftp-dir/:file] > > > > gives: > > > > User Error: Server error: tcp 226 Quotas on: using 0.00 of 10.00 MegaBytes > > > > Why is this an error?? > > I don't know either, but, depending on your needs, you may be able to > achieve similar functionality with the following: > > ftp-dir: ftp://user-name:[EMAIL PROTECTED]/a-folder/ > files: read ftp-dir > foreach file files [delete join ftp-dir [file]] > > > The servers work perfectly outside Rebol and I can manipulate files > normally. > > > > Reading directories works fine, but trying to read the contents of a file > gives: > > > > User Error: Server error: tcp 200 PORT command successful. > > Are you using a form soemthing like the following to read the contents of a > file? > > ftp-dir: ftp://user-name:[EMAIL PROTECTED]/a-folder/ > print read ftp-dir ["a-file-name"] > > > <rest snipped> > > Hope this helps. > > --Scott Jones > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.