[REBOL] Re: Rebol, FTP and quotas
From: gscottjones::mchsi::com at: 9-Mar-2002 9:21
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]
> 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:
files: read ftp-dir
foreach file files [delete join ftp-dir [file]]
> The servers work perfectly outside Rebol and I can manipulate files
> Reading directories works fine, but trying to read the contents of a file
> User Error: Server error: tcp 200 PORT command successful.
Are you using a form soemthing like the following to read the contents of a
print read ftp-dir ["a-file-name"]
> <rest snipped>
Hope this helps.