Re: [PHP] uploading entire directory, with or without compression...

2003-04-04 Thread Marek Kilimajer


David T-G wrote:

It's certainly a start :-)
 

Remember that your clients would have to install the java application on 
their computer, because java applets (the one running from web) don't 
have permission to access files on local computer. The same limitation 
has javascript. I have heard about a signed ActiveX component that can 
do this, I think it is that signed components are enabled (or must be 
confirmed) by default in IE.

% 
% http://support.softartisans.com/docs/JFile/prog_g_recursive.htm

I'll definitely check it out!

% 
% hope you find it useful
% -awlad

Thanks so much :-)

HAND

:-D
 



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


RE: [PHP] uploading entire directory, with or without compression ...

2003-04-04 Thread Dan Rossi
oo bugger is there an open source version ?

-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 8:05 PM
To: David T-G
Cc: PHP General list; Awlad Hussain
Subject: Re: [PHP] uploading entire directory, with or without
compression ...




David T-G wrote:

It's certainly a start :-)
  

Remember that your clients would have to install the java application on 
their computer, because java applets (the one running from web) don't 
have permission to access files on local computer. The same limitation 
has javascript. I have heard about a signed ActiveX component that can 
do this, I think it is that signed components are enabled (or must be 
confirmed) by default in IE.


% 
% http://support.softartisans.com/docs/JFile/prog_g_recursive.htm

I'll definitely check it out!


% 
% hope you find it useful
% -awlad

Thanks so much :-)


HAND

:-D
  



-- 
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



Re: [PHP] uploading entire directory, with or without compression...

2003-04-04 Thread Marek Kilimajer
If there is it would not be signed  :-(

Dan Rossi wrote:

oo bugger is there an open source version ?

-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 8:05 PM
To: David T-G
Cc: PHP General list; Awlad Hussain
Subject: Re: [PHP] uploading entire directory, with or without
compression ...


David T-G wrote:

 

It's certainly a start :-)

   

Remember that your clients would have to install the java application on 
their computer, because java applets (the one running from web) don't 
have permission to access files on local computer. The same limitation 
has javascript. I have heard about a signed ActiveX component that can 
do this, I think it is that signed components are enabled (or must be 
confirmed) by default in IE.

 

% 
% http://support.softartisans.com/docs/JFile/prog_g_recursive.htm

I'll definitely check it out!

% 
% hope you find it useful
% -awlad

Thanks so much :-)

HAND

:-D

   



 



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


RE: [PHP] uploading entire directory, with or without compression ...

2003-04-04 Thread Dan Rossi
hmm what do u mean y signed ? applets simply load dont they ? also maye
activex is the way to go ?

-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 8:17 PM
To: Dan Rossi
Cc: PHP General list
Subject: Re: [PHP] uploading entire directory, with or without
compression ...


If there is it would not be signed  :-(

Dan Rossi wrote:

oo bugger is there an open source version ?

-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 8:05 PM
To: David T-G
Cc: PHP General list; Awlad Hussain
Subject: Re: [PHP] uploading entire directory, with or without
compression ...




David T-G wrote:



It's certainly a start :-)




Remember that your clients would have to install the java application on
their computer, because java applets (the one running from web) don't
have permission to access files on local computer. The same limitation
has javascript. I have heard about a signed ActiveX component that can
do this, I think it is that signed components are enabled (or must be
confirmed) by default in IE.



%
% http://support.softartisans.com/docs/JFile/prog_g_recursive.htm

I'll definitely check it out!


%
% hope you find it useful
% -awlad

Thanks so much :-)


HAND

:-D










--
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



Re: [PHP] uploading entire directory, with or without compression...

2003-04-04 Thread Marek Kilimajer
They are signed by a trusted authority (micro$oft) that grants that they 
are secure to use and therefore can use features (file access) that 
would be otherwise forbiden (if the user chooses to trust it). The 
integrity of the component is also ensured.

Dan Rossi wrote:

hmm what do u mean y signed ? applets simply load dont they ? also maye
activex is the way to go ?
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 8:17 PM
To: Dan Rossi
Cc: PHP General list
Subject: Re: [PHP] uploading entire directory, with or without
compression ...
If there is it would not be signed  :-(

Dan Rossi wrote:

 

oo bugger is there an open source version ?

-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 8:05 PM
To: David T-G
Cc: PHP General list; Awlad Hussain
Subject: Re: [PHP] uploading entire directory, with or without
compression ...


David T-G wrote:



   

It's certainly a start :-)



 

Remember that your clients would have to install the java application on
their computer, because java applets (the one running from web) don't
have permission to access files on local computer. The same limitation
has javascript. I have heard about a signed ActiveX component that can
do this, I think it is that signed components are enabled (or must be
confirmed) by default in IE.


   

%
% http://support.softartisans.com/docs/JFile/prog_g_recursive.htm
I'll definitely check it out!

%
% hope you find it useful
% -awlad
Thanks so much :-)

HAND

:-D



 



   



--
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


Re: [PHP] uploading entire directory, with or without compression ...

2003-04-03 Thread David T-G
Kenn --

...and then Kenn Murrah said...
% 
% i was afraid you were gonna say that, jason ... but i was hoping i had
% overlooked something ...

Yeah.  I went the same route on the list a while back.  Check the
archives :-)


% 
% anyway, thanks for your response ... i'm familiar enough with your input to
% this list that, if you say it can't be done, i'll look no farther ...

Darn!  I was hoping you'd be more persistent and insistent :-)

I should think that some javascript could collect the files in a dir, or
better yet allow multiple selections, and then build the necessary form
for upload (or even build the upload data with MIME separators and all),
but I don't know JS and haven't yet found anyone who's written one...


% 
% thanks again,


HTH  HAND  good luck -- for my sake, too!

:-D
-- 
David T-G  * There is too much animal courage in 
(play) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, Science and Health
http://justpickone.org/davidtg/  Shpx gur Pbzzhavpngvbaf Qrprapl Npg!



pgp0.pgp
Description: PGP signature


Re: [PHP] uploading entire directory, with or without compression ...

2003-04-03 Thread Awlad Hussain
I found this link that has a stand alone java application that will allow to
to upload a folder... if that what you want? or you want it to be embedded
in your webpage?

http://support.softartisans.com/docs/JFile/prog_g_recursive.htm

hope you find it useful
-awlad


- Original Message -
From: David T-G [EMAIL PROTECTED]
To: PHP General list [EMAIL PROTECTED]
Cc: Kenn Murrah [EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 11:37 AM
Subject: Re: [PHP] uploading entire directory, with or without compression
...



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



Re: [PHP] uploading entire directory, with or without compression ...

2003-04-03 Thread David T-G
Awlad, et al --

...and then Awlad Hussain said...
% 
% I found this link that has a stand alone java application that will allow to
% to upload a folder... if that what you want? or you want it to be embedded
% in your webpage?

I don't really know what I want other than the functionality.  What I
really want is to open a dialog box / file browser where you can select
multiple files and then click a button, much like opening multiple
documents in the bafflingly-ever-popular MS Word (File - Open -
ctrl-click each or shift-click a group - Open).  I can have that sort of
browser box, but only for a single file, in basic HTML code.  I have no
idea what javascript can do for me, but since other parts of my app
already require javascript that wouldn't be so bad.  Going to Java would
mean another requirement, but perhaps those who would most want such a
feature would also be likely to not have turned off Java so it could work
anyway.

It's certainly a start :-)


% 
% http://support.softartisans.com/docs/JFile/prog_g_recursive.htm

I'll definitely check it out!


% 
% hope you find it useful
% -awlad

Thanks so much :-)


HAND

:-D
-- 
David T-G  * There is too much animal courage in 
(play) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, Science and Health
http://justpickone.org/davidtg/  Shpx gur Pbzzhavpngvbaf Qrprapl Npg!



pgp0.pgp
Description: PGP signature


RE: [PHP] uploading entire directory, with or without compression ...

2003-04-03 Thread Dan Rossi
i have looked into this , and the browser is only limited to single file
uploads , but yes a a java applet is prob the best options, i am considering
on learning java as it is similar to php OO or maybe the other way round, it
looks familiar so maye i can get my hed around it :D, maye there is an open
source java example , but frankly i've never seen one :|

-Original Message-
From: Burhan Khalid [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 7:50 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] uploading entire directory, with or without
compression ...


Jason Wong wrote:
 On Wednesday 02 April 2003 22:08, Kenn Murrah wrote:

yes, of course they can ... but i'm looking for a way to automate the
process for them (a method which may not exist) .. i suppose i can give
them the option to upload multiple files using multiple input fields, but
I'd really like to find a way to select an entire folder instead ...


 Can't be done.

 You can investigate the use of client-side scripting.


*can't* do it with PHP, but ...

If this is a real priority, you can write some sort of ActiveX component
that you can use to upload. However, you will have to ask the client for
security permissions, since client apps do not have access to the remote
file system (for good reason).

Either that, or you can write a Java applet to do it.

Bottom line, no way to do it with PHP, but if you really want it done,
look to other languages.

--
Burhan Khalid
phplist[at]meidomus[dot]com





--
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



Re: [PHP] uploading entire directory, with or without compression...

2003-04-02 Thread Marek Kilimajer
Your clients can zip the folder, upload the zip file, and then you can 
on the server side use PclZip class to read the content

Kenn Murrah wrote:

Greetings.

I have a web site which permits my clients to upload a file via php4, and it
works great ... however, some clients have requested that they be able to
upload entire directories from their windows or macintosh computers ... that
is, to select the entire folder rather than doing one file at a time.
Is this possible?

And perhaps related: could a script be contructed to create an archive file
on the client side which, in turn, could be uploaded?  That would achieve
the same effect by allowing the client to create an archive with multiple
files.
I can't really see how that would be possible in PHP, but I'm hoping one of
you much more experienced folks could see a solution.
Thanks in advance.



 



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


Re: [PHP] uploading entire directory, with or without compression ...

2003-04-02 Thread Kenn Murrah
yes, of course they can ... but i'm looking for a way to automate the
process for them (a method which may not exist) .. i suppose i can give them
the option to upload multiple files using multiple input fields, but I'd
really like to find a way to select an entire folder instead ...


- Original Message -
From: Marek Kilimajer [EMAIL PROTECTED]
To: Kenn Murrah [EMAIL PROTECTED]
Cc: php list [EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 7:47 AM
Subject: Re: [PHP] uploading entire directory, with or without compression
...


 Your clients can zip the folder, upload the zip file, and then you can
 on the server side use PclZip class to read the content

 Kenn Murrah wrote:

 Greetings.
 
 I have a web site which permits my clients to upload a file via php4, and
it
 works great ... however, some clients have requested that they be able to
 upload entire directories from their windows or macintosh computers ...
that
 is, to select the entire folder rather than doing one file at a time.
 
 Is this possible?
 
 And perhaps related: could a script be contructed to create an archive
file
 on the client side which, in turn, could be uploaded?  That would achieve
 the same effect by allowing the client to create an archive with multiple
 files.
 
 I can't really see how that would be possible in PHP, but I'm hoping one
of
 you much more experienced folks could see a solution.
 
 Thanks in advance.
 
 
 
 
 
 


 --
 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



Re: [PHP] uploading entire directory, with or without compression ...

2003-04-02 Thread Jason Wong
On Wednesday 02 April 2003 22:08, Kenn Murrah wrote:
 yes, of course they can ... but i'm looking for a way to automate the
 process for them (a method which may not exist) .. i suppose i can give
 them the option to upload multiple files using multiple input fields, but
 I'd really like to find a way to select an entire folder instead ...

Can't be done. 

You can investigate the use of client-side scripting.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
Revolution, n.:
A form of government abroad.
*/


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



Re: [PHP] uploading entire directory, with or without compression ...

2003-04-02 Thread Chris Hayes
At 16:15 2-4-03, you wrote:

Um, i had a look at the FTP options, (I honestly have no idea about the 
security implications) but i saw only directory functions for the server.

http://www.php.net/manual/en/ref.ftp.php

but maybe one of the finished applications: 
http://nanoftpd.sourceforge.net/ (i never tried it) found a solution.



Or maybe, i am just thinking aloud,  you need to write some javascript that 
explores the directory on the local PC (can javascript see them?) and sends 
the list of names in a hidden formfield, with that you could try to make a 
form page that you send to them, with the file fields already filled out, 
and that is then automagically submitted immediately.



At 16:08 2-4-03, you wrote:
yes, of course they can ... but i'm looking for a way to automate the
process for them (a method which may not exist) .. i suppose i can give them
the option to upload multiple files using multiple input fields, but I'd
really like to find a way to select an entire folder instead ...
- Original Message -
From: Marek Kilimajer [EMAIL PROTECTED]
To: Kenn Murrah [EMAIL PROTECTED]
Cc: php list [EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 7:47 AM
Subject: Re: [PHP] uploading entire directory, with or without compression
...
 Your clients can zip the folder, upload the zip file, and then you can
 on the server side use PclZip class to read the content

 Kenn Murrah wrote:

 Greetings.
 
 I have a web site which permits my clients to upload a file via php4, and
it
 works great ... however, some clients have requested that they be able to
 upload entire directories from their windows or macintosh computers ...
that
 is, to select the entire folder rather than doing one file at a time.
 
 Is this possible?
 
 And perhaps related: could a script be contructed to create an archive
file
 on the client side which, in turn, could be uploaded?  That would achieve
 the same effect by allowing the client to create an archive with multiple
 files.
 
 I can't really see how that would be possible in PHP, but I'm hoping one
of
 you much more experienced folks could see a solution.
 
 Thanks in advance.
 
 
 
 
 
 


 --
 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


--
PHP-GTK General Mailing List (http://gtk.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


Re: [PHP] uploading entire directory, with or without compression...

2003-04-02 Thread Burhan Khalid
Jason Wong wrote:
On Wednesday 02 April 2003 22:08, Kenn Murrah wrote:

yes, of course they can ... but i'm looking for a way to automate the
process for them (a method which may not exist) .. i suppose i can give
them the option to upload multiple files using multiple input fields, but
I'd really like to find a way to select an entire folder instead ...


Can't be done. 

You can investigate the use of client-side scripting.

*can't* do it with PHP, but ...

If this is a real priority, you can write some sort of ActiveX component 
that you can use to upload. However, you will have to ask the client for 
security permissions, since client apps do not have access to the remote 
file system (for good reason).

Either that, or you can write a Java applet to do it.

Bottom line, no way to do it with PHP, but if you really want it done, 
look to other languages.

--
Burhan Khalid
phplist[at]meidomus[dot]com




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