Then you'll need to do an ftp_cd or something to go down in that
sub-directory and do ftp_nlist again, I think...
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Eduardo Kokubo <[EMAIL PROTECTED]>
Newsgroups: php.general
To: Miles Thompson <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Cc: Eduardo Kokubo <[EMAIL PROTECTED]>
Sent: Friday, August 03, 2001 9:35 AM
Subject: Re: [PHP] again
> I'm trying to it using PHP. I tried to use ftp_nlist to know the names of
> the files and transfer them, but I think I need more than just the names
and
> locations of the files. Besides, I have to transfer the name of the
> subdirectory too.
>
> > Eduardo,
> >
> > Are you trying to do this in PHP or interactively? If with PHP I won't
be
> > much help, as the I've not used its FTP functions. Otherwise it's a
> > straightforward FTP operation.
> >
> > There may be a problem doing it from within PHP as the webserver is
> > probably running as "nobody", who usually, and properly, has zilch for
> > permissions.
> >
> > Not much help - Miles
> >
> > At 10:11 AM 8/3/01 -0300, Eduardo Kokubo wrote:
> > >I'm still trying to transfer a directory form one server to another but
> > >with no results.
> > >I have the username and password of the ftp account source and I know
> I'll
> > >have to ask for the username and password of the destination. I can't
> > >simply upload or copy the directory, but there must have an alternative
> > >way. I know I have been asking a lot of questions and I already asked
> this
> > >one, but I'm new with php and we can't learn everything from books,
so...
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]