new2
03-09-2001, 02:25 PM
Hi-
I am trying to automate a stupid process that we have to go through at work and trying to do it in a batch file. I can ftp the files from the cd rom / or hard drive to the unix machine in the batch program, not a problem. The problem that I have is with the permissions on the unix box after they are ftp'd, the have -r--r--r- permissions.
I have copied them to the local hard drive,
changed the permissions so that everyone has all the permissions and then ftp'd them, but still the permissions are -r--r--r-.
(This doesn't happen with interactive ftp and it is not anonymous ftp)
Anyone have any suggestions? Anyway to telnet, rlogin in a batch file to the unix box, change file permissions?
Thanks!
If you know of another board like this that may be a better place to ask this type of question, great.
I am trying to automate a stupid process that we have to go through at work and trying to do it in a batch file. I can ftp the files from the cd rom / or hard drive to the unix machine in the batch program, not a problem. The problem that I have is with the permissions on the unix box after they are ftp'd, the have -r--r--r- permissions.
I have copied them to the local hard drive,
changed the permissions so that everyone has all the permissions and then ftp'd them, but still the permissions are -r--r--r-.
(This doesn't happen with interactive ftp and it is not anonymous ftp)
Anyone have any suggestions? Anyway to telnet, rlogin in a batch file to the unix box, change file permissions?
Thanks!
If you know of another board like this that may be a better place to ask this type of question, great.