Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[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] > > 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:[user-pass--ftp--my-ftp-site--com]/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:[user-pass--ftp--my-ftp-site--com]/a-folder/ print read ftp-dir ["a-file-name"]
> <rest snipped>
Hope this helps. --Scott Jones