ASP Forum
ASP and FTP commands to use CHMOD or similar
student101 | Posted 0:34am 29. May 2008 Server Time |

ASP and FTP commands to use CHMOD or similar to change folder permissions before uploading a file via a web form?

Is there a script or commands that can do this?

Are there any other settings that is available on a domain that can make sure that the user has access even though the folders are set to "0755"? This is all from a web form in a controlled area with Username and Password.

I know that this is possible in PHP with two systems:

suPHP (installed by you with a rewrite_module or ftp_module not sure) or FTP modules  (I write a script with this "$conn = ftp_connect("$host");")

Any ideas unless you have something there already?
WizzKidd | Posted 12:23am 12. June 2008 Server Time |

Check this out: http://www.xav.com/scripts/perms/

Its has a clever function in the script that can execute commands using WSH.  I guess it will only work if execute permissions are allowed where you run the asp file from.

- Neil-One (aka WizzKidd)
- http://www.promotioncity.co.uk



Reply to Post ASP and FTP commands to use CHMOD or similar



Back to Forum Page