The uploader works wonderfully, by the way, but out of curiosity, is there a way to have it chmod the files uploaded to 0755 once they are moved from the temp dir to the final one? I've tried adding this line of code
after the last line of sub SaveFile2 in the upload.cgi file, but when I do that, the upload won't even start correctly.
the files on my server; once uploaded, are always uploaded in 0600 mode, and I don't quite understand why.
2 posts • Page 1 of 1