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

[REBOL] Re: ftp chmod!!

From: nitsch-lists:netcologne at: 5-Aug-2003 23:49

Am Dienstag, 5. August 2003 17:03 schrieb [SunandaDH--aol--com]:
> Maxim: > > If we can't do it directly in rebol, can someone tell me if there is a > > windows command-line software which would let me do a chmod on a remote > > machine using ftp command. I have a pro license, so I don't mind calling > > a shell command after each xfer. > > 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/ > > This has a Commands / Properies/CHMOD menu that lets you set the right file > privileges. > > 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). >
Somewhere on Altme Cal Dixon wrote: Some FTP servers allow setting modes via FTP. You can open a connection to the ftp site normally, then get the sub-port from the open port, then send a command like "SITE CHMOD 775 file" then wait for a responce from the server (which will usually be a numeric code, a space an english language result, and a newline). It's not very convienent, but it may be easier than telnet, if the FTP server supports it. but never tried it. -Volker