By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,962 Members | 1,791 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,962 IT Pros & Developers. It's quick & easy.

Given IP and Administrator password, how to create a directory and change its privilege ?

P: n/a
Given IP and Administrator's password, how to create a directory and
change its privilege remotely ? (remote computer is windows 2003)

In fact, I just want to use web to assist creating share folders on
windows 2003.
A initial concept is to use mkdir() and chmod()
but chmod is not support remote file

Does there exists any good methods to solve this problem?
Thanks in advance.

-jiing-
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
jiing wrote:
Given IP and Administrator's password, how to create a directory and
change its privilege remotely ? (remote computer is windows 2003)

In fact, I just want to use web to assist creating share folders on
windows 2003.
A initial concept is to use mkdir() and chmod()
but chmod is not support remote file

Does there exists any good methods to solve this problem?
Thanks in advance.

-jiing-

This subject is not related to PHP. However, using Linux instead of
WinBloze might be a good start. Just my Opinion BTW.

--
Ron Chaplin
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
T73 Software & Design
www.t73-softdesign.com
To provide custom and quality
software, designs and services,
to our customers, at an affordable rate,
with minimal delay.
Jul 17 '05 #2

P: n/a
On Mon, 10 Jan 2005 05:57:13 -0600
Ronald Chaplin <NoSPAM@MAPSoN> wrote:

:This subject is not related to PHP. However, using Linux instead of
:WinBloze might be a good start. Just my Opinion BTW.

Hmm. You know, for someone who's so concerned about "on-topic"
posting, and therefor what guys like you like to call "netiqette," I
would have thought that you'd avoid starting stupid
"my-os-is-better-than-your-os" wars. The guy has a Windows
machine. Lots of people do. Live with it. No, I don't know why he
posted here. Maybe he likes the level of competency he finds here.

FWIW, that question about &amp; has lots to do with PHP. It doesn't
come up unless you've just created a form and tried to process it with
PHP.
--
Tony Reed
<tr***@altern.org>
Jul 17 '05 #3

P: n/a
"jiing" <ji********@gmail.com> wrote in message
news:b7**************************@posting.google.c om...
Given IP and Administrator's password, how to create a directory and
change its privilege remotely ? (remote computer is windows 2003)

In fact, I just want to use web to assist creating share folders on
windows 2003.
A initial concept is to use mkdir() and chmod()
but chmod is not support remote file

Does there exists any good methods to solve this problem?
Thanks in advance.

-jiing-


If you have an SSH server running, you can SSH into the Windows command
shell. I don't know if code exists out there that let you do that in PHP.
You can always spawn an instance of putty
(http://www.chiark.greenend.org.uk/~sgtatham/putty/) though.

Turning on FTP server on the remote server is also an option. Doing that on
a Windows box is not something I would recommend. Turning on telnet is even
worse of an idea.
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.