[PHP] Web based FTP client

2002-09-06 Thread Mark McCulligh

I am trying to build or find a web FTP client.

I can create a server side FTP app in PHP no problem, but I would like the
user to be able to browse their own file system.  I thought about using
upload functions with PHP FTP functions on the server but I didn't want just
an input box with a browse button on the screen.  I have also search though
JavaScript for FTP functions but I didn't see anything that would really
work. I want it to look like a windows based FTP client a list box on one
site for the user's file system and a list box on the other for the ftp
server.

Does anyone know of a good web FTP program in exists or point me in  the
right direction on how to build one..

Thanks, Mark.
_
Mark McCulligh, Application Developer / Analyst
Sykes Canada Corporation www.SykesCanada.com
[EMAIL PROTECTED]



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




RE: [PHP] Web based FTP client

2002-09-06 Thread Jon Haworth

Hi Mark,

 I am trying to build or find a web FTP client.
 I want it to look like a windows based FTP client a list box on one
 site for the user's file system and a list box on the other for the 
 ftp server.

A couple of iframes side by side should let you do that.

The biggest problem I can see you hitting is reading the contents of the
user's hard drive... usually this is impossible, for good reasons.


Cheers
Jon

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




RE: [PHP] Web based FTP client

2002-09-06 Thread David Buerer

Reading the users hard drive is impossible from php, but it's really easy
with Java.

-Original Message-
From: Jon Haworth [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 7:49 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Web based FTP client


Hi Mark,

 I am trying to build or find a web FTP client.
 I want it to look like a windows based FTP client a list box on one
 site for the user's file system and a list box on the other for the 
 ftp server.

A couple of iframes side by side should let you do that.

The biggest problem I can see you hitting is reading the contents of the
user's hard drive... usually this is impossible, for good reasons.


Cheers
Jon

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




Re: [PHP] Web based FTP client

2002-09-06 Thread Mark McCulligh

Do you mean use a Java Applet or JavaScript.

I know how to browse the user's file system using JavaScript or VBScript if
I use the ActiveX object FileSystemObject but then the site will only work
on IE. I don't like build sites that only work for one browser.

But even if I create a page that lets the user browse their own computer and
the FTP Server using a combo of JavaScript, PHP and HTML frames.  I still
don't know how to ftp right from the client side browser without using the
INPUT tag file and upload, not ftp.

Mark.
_
Mark McCulligh, Application Developer / Analyst
Sykes Canada Corporation www.SykesCanada.com
(888)225-6824 ex. 3262
[EMAIL PROTECTED]
- Original Message -
From: David Buerer [EMAIL PROTECTED]
Newsgroups: php.general
To: [EMAIL PROTECTED]
Sent: Friday, September 06, 2002 11:24 AM
Subject: RE: [PHP] Web based FTP client


 Reading the users hard drive is impossible from php, but it's really easy
 with Java.

 -Original Message-
 From: Jon Haworth [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 06, 2002 7:49 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [PHP] Web based FTP client


 Hi Mark,

  I am trying to build or find a web FTP client.
  I want it to look like a windows based FTP client a list box on one
  site for the user's file system and a list box on the other for the
  ftp server.

 A couple of iframes side by side should let you do that.

 The biggest problem I can see you hitting is reading the contents of the
 user's hard drive... usually this is impossible, for good reasons.


 Cheers
 Jon

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




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




IRE: [PHP] Web based FTP client

2002-09-06 Thread David Buerer

That's been one of the major problems i've encoutered as well because PHP is
a server based language (what you've got,) not a client based language (what
you need.)  If i had to write a web based ftp client.  I would do some
exploring with Java, or flash, activeX, or ? all languages which can
open up direct socket connections and maybe you can even find some libraries
with pre-built in ftp functions.  Do some searching on the web and see what
shows up.

David

-Original Message-
From: Mark McCulligh [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 9:17 AM
To: David Buerer
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Web based FTP client


Do you mean use a Java Applet or JavaScript.

I know how to browse the user's file system using JavaScript or VBScript if
I use the ActiveX object FileSystemObject but then the site will only work
on IE. I don't like build sites that only work for one browser.

But even if I create a page that lets the user browse their own computer and
the FTP Server using a combo of JavaScript, PHP and HTML frames.  I still
don't know how to ftp right from the client side browser without using the
INPUT tag file and upload, not ftp.

Mark.
_
Mark McCulligh, Application Developer / Analyst
Sykes Canada Corporation www.SykesCanada.com
(888)225-6824 ex. 3262
[EMAIL PROTECTED]
- Original Message -
From: David Buerer [EMAIL PROTECTED]
Newsgroups: php.general
To: [EMAIL PROTECTED]
Sent: Friday, September 06, 2002 11:24 AM
Subject: RE: [PHP] Web based FTP client


 Reading the users hard drive is impossible from php, but it's really easy
 with Java.

 -Original Message-
 From: Jon Haworth [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 06, 2002 7:49 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [PHP] Web based FTP client


 Hi Mark,

  I am trying to build or find a web FTP client.
  I want it to look like a windows based FTP client a list box on one
  site for the user's file system and a list box on the other for the
  ftp server.

 A couple of iframes side by side should let you do that.

 The biggest problem I can see you hitting is reading the contents of the
 user's hard drive... usually this is impossible, for good reasons.


 Cheers
 Jon

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






Re: [PHP] Web based FTP client

2002-09-06 Thread Chris Hewitt

Mark McCulligh wrote:


I know how to browse the user's file system using JavaScript or VBScript if
I use the ActiveX object FileSystemObject but then the site will only work

Sounds like a massive security breach.

Chris


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




RE: [PHP] Web based FTP client

2002-09-06 Thread David Buerer

no more of a security breach than any other ftp client a user would make the
CHOICE to use.  Hey, it's our responsibility as developers to make things as
secure as possible...but only to the point that we continue to help meet the
needs of our clients.  When we stop meeting the needs because of our
obsession with security we've failed.

-Original Message-
From: Chris Hewitt [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 11:11 AM
To: Mark McCulligh
Cc: David Buerer; [EMAIL PROTECTED]
Subject: Re: [PHP] Web based FTP client


Mark McCulligh wrote:


I know how to browse the user's file system using JavaScript or VBScript if
I use the ActiveX object FileSystemObject but then the site will only
work

Sounds like a massive security breach.

Chris




Re: [PHP] Web based FTP client

2002-09-06 Thread Justin French

on 07/09/02 12:48 AM, Jon Haworth ([EMAIL PROTECTED]) wrote:

 A couple of iframes side by side should let you do that.
 
 The biggest problem I can see you hitting is reading the contents of the
 user's hard drive... usually this is impossible, for good reasons.

I *think* that's what he was asking about.

Justin


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