Shilohcity
Technical User
Hi there
I have a Batch file running on a Windows 2000 machine which copies files from a local directory to a directory on a UNIX Web Server. In order to make sure the files are synced between the two locations it first deletes all the files on the server. This is all working fine. My problem lies with the file permissions. When the files are deleted the newly FTP'd copies default to a rw- r-- --- setting when they need to be rw- r-- r--. It seems I can't use CHMOD from within the FTP file to change this. Does anybody have any suggestions of ways to change the permissions?
Cheers
Justin. "Creativity is the ability to introduce order into the randomness of nature." Eric Hoffer
Visit me at
I have a Batch file running on a Windows 2000 machine which copies files from a local directory to a directory on a UNIX Web Server. In order to make sure the files are synced between the two locations it first deletes all the files on the server. This is all working fine. My problem lies with the file permissions. When the files are deleted the newly FTP'd copies default to a rw- r-- --- setting when they need to be rw- r-- r--. It seems I can't use CHMOD from within the FTP file to change this. Does anybody have any suggestions of ways to change the permissions?
Cheers
Justin. "Creativity is the ability to introduce order into the randomness of nature." Eric Hoffer
Visit me at