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

[REBOL] Re: ftp chmod!!

From: petr:krenzelok:trz:cz at: 6-Aug-2003 11:53

Gabriele Santilli wrote:
>Hi Petr, > >On Tuesday, August 5, 2003, 6:41:16 PM, you wrote: > >PK> http://proftpd.linux.co.uk/docs/directives/configuration_full.html#ALLOWCHMOD > >It's ProFTPD there, by the way. > >PK> Anyway, I tried to 'open ftp connection only and then use something like >PK> INSERT serv "SITE" but Rebol told me that 'insert can't be used with >PK> such type of port ... so I think it may be possible to chmod files but >PK> it would have to be supported directly by ftp scheme ... but I can be >PK> wrong ... > >You could insert directly into the sub-port, but then you have to >make sure you don't interfere with the handler. I think the best >solution would be to write a new FTP handler or patch the existing >one to support SET-MODES and GET-MODES. >
Yes, exactly - but it is for gurus only. I would prefer if Rebol would try to be more tolerant to various anomalies, such as usage of @ or # chars in scheme. We can be rigid and say hey, it is not according to RFCXY, but well, rebol users will face such anomalies, as they exist. E.g. if I want to connect to FTP from behind the firewall, I have to go thru proxy: print read ftp://[pekr--moon--rebol--cz]:[my-pass--proxy--sec--trz--cz] It will not be swallowed by Rebol parser untill I apply following patch: net-utils/url-parser/user-char: union net-utils/url-parser/user-char make bitset! #"@" I could see lots of similar questions asked on ml, that is why I would prefer Rebol being able to handle such case/anomaly natively. From talks to Reichart I know that FTP is probably the most screwed standard . Well - I think that no matter what command what FTP server supports, we should enrich rebol's scheme each time we find new problem and its solution, instead of suggesting of usign sub-port, as there can be ppl as me, who will not be able to solve such problem by simply suggesting how to hack it around ... Cheers, -pekr-