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: 5-Aug-2003 18:41

Maxim Olivier-Adlhoch wrote:
>>REBOL can't do chmod, as you've spotted. >> >> > >>I use the windows FTP program (not command line, I'm afraid): >>SmartFTP http://www.smartftp.com/ >> >> > >Yes I downloaded it just yesterday, and it works nicely! > >>Setting CHMOD is a pain, but once you've set it once, you >>need never set it again -- later uploads using REBOL FTP will keep the same >>CHMOD (at least, they do for me). >> >> > >that's interesting! > >thanks for the tip, I don't think I would have noticed, and yess it does work for me too! > >-Max >
I was told by my friend that it is actually possible. Your FTP server would have to be configured to be allowed to accept SITE CHMOD command (WUFPTD may have QUOTE command). The configuration of server varries, so you are probably on your own. Try to look here: http://www.glftpd.com/docs/glftpd.docs http://proftpd.linux.co.uk/docs/directives/configuration_full.html#ALLOWCHMOD for two known ftp servers. Search for "chmod" string. Anyway, I tried to 'open ftp connection only and then use something like INSERT serv "SITE" but Rebol told me that 'insert can't be used with such type of port ... so I think it may be possible to chmod files but it would have to be supported directly by ftp scheme ... but I can be wrong ... -pekr-