Actually it does have to do with php.One of my main questions was also
about whether it was best to use the script from the command-line or
from the web server itself. The network question had to do with php as
well. Whether it would be best to use samba or another source. VNC is a
poor idea. After all that would suggest changing each one by hand
because vnc would require that I would have to run the interpreter on
the server. Which I did say I really couldn't install there due to the
number of processes running there. Same thing with the telenet and ssh
servers. The FTP idea might work, but windows already has the smb
protocol enabled. So it does seem like the best way to go. However, I
really rather not install other software on to this box due to again the
number of processes it is running. 
Also after looking at the manual more which methods are best to search
for the files. Is fnmatch better or glob. I'm not sure I understand what
the difference is they both look like they do the same thing. 
Thanks again, 
David
On Mon, 2003-08-04 at 01:11, Jeff Harris wrote:
> On Aug 3, 2003, "David Smith" claimed that:
> 
> |Hi:
> |I have a slight problem that I'm not sure where to begin. I have
> |multiple files on another server other then my linux box that needs to
> |be renamed. These files are used under a particular software package and
> |I am trying to switch them to another software package which would
> |require them to be renamed. Now here is the catch. I really can't
> |install apache, php, or perl on the system (windows) or it will bog down
> |the software (which automates a radio station). What I need is to find
> |out if any of you have ever accessed a remote system (perhaps from the
> |command-line interface) and changed file names. I need to be able to
> |remove numbers a pluses. The numbers can be replaced with essentially
> |nothing. The pluses need to be replaced with spaces. Any ideas. I'm a
> |little new to PHP so I'm not sure if the best method would be to use the
> |command-line option or if I should find another solution altogether.
> |(I'm just more familar with php then perl and hate vb.)
> |David
> |
> 
> This really has nothing to do with PHP. It sounds like you need to have,
> on your Windows system, either VNCServer or Timbuktu, an ftp server, or a
> telnet or ssh server.
> 
> If you install an ftp server on your windows box, you might be able to use
> PHP on your webserver to open an ftp connection, read the directory list,
> then use one of the regex commands to create your new file name, then
> change the name on the server using ftp.
David Smith
Programmable Solutions
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to