"Kompu Kid" <deguza@[EMAIL PROTECTED]
> wrote in message
news:7740bba9-759e-403a-98b6-493fd7be7fe0@[EMAIL PROTECTED]
> On Mar 10, 1:00 pm, "Amos E Wolfe" <amos.wo...@[EMAIL PROTECTED]
> wrote:
>> "Kompu Kid" <deg...@[EMAIL PROTECTED]
> wrote in message
>>
>>
news:155a77e4-ce8d-43b6-8882-7eb139b38aa7@[EMAIL PROTECTED]
>>
>> > Hello All:
>>
>> > I have access to my web server only through ftp.
>>
>> > There are some directory structures that an administrator changed,
and
>> > all my links are broken.
>>
>> > I identified the text pattern to change in my links, and if the web
>> > pages were locally accessible, or if I could remote connect to the
>> > server, I could write a small program to change these, but ftp only
>> > access is not letting me use these options.
>>
>> Sorry to be obvious, but is there any reason why you cannot:
>>
>> 1) download the files to your local machine via FTP
>> 2) run the "small program" as described above
>> 3) save and upload the files, replacing the old versions
>> ?
>>
>> --
>> -=# Amos E Wolfe #=-
>
> Hello Amos:
>
> That is the alternative we are already considering. However, we are
> talking about many gigs of html. Last time I tried to download it it
> took 8 hours or so.
Think carefully about this.
If you find or write a program to do what you want via FTP then what is it
going to do?
It will "open" the file, that is read it into memory, that is,
effectively,
download it via FTP to the local machines memory. Then it is will change
the
in memory copy of the file. Then it will "save" the file, that is,
effectively, upload it via ftp to the host machine.
Same as FTPing all the files down, changing them locally an then FTPing
them
all back up again.
What you *really* want is a program (or, say, PHP script) that runs on the
host.
--
Richard.


|