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

This is a discussion on Given IP and Administrator password, how to create a directory and change its privilege ? within the PHP Language forums, part of the PHP Programming Forums category; Given IP and Administrator's password, how to create a directory and change its privilege remotely ? (remote computer is windows ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-10-2005
jiing
 
Posts: n/a
Default Given IP and Administrator password, how to create a directory and change its privilege ?

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-
Reply With Quote
  #2 (permalink)  
Old 01-10-2005
Ronald Chaplin
 
Posts: n/a
Default Re: Given IP and Administrator password, how to create a directoryand change its privilege ?

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.
Reply With Quote
  #3 (permalink)  
Old 01-11-2005
Chung Leong
 
Posts: n/a
Default Re: Given IP and Administrator password, how to create a directory and change its privilege ?

"jiing" <jiing.deng@gmail.com> wrote in message
news:b7b95676.0501100024.4e6bfde8@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.


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:09 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0