Re: [PHP-DB] Re: file upload and php (Not a begginer [sic]question!)

2002-10-15 Thread Paul Burney

on 10/15/02 4:11 PM, BAROILLER at [EMAIL PROTECTED] appended the
following bits to my mbox:

 No one have an idea ?

Maybe it's because this isn't really database related and you posted to the
PHP-DB list instead of PHP-GENERAL?

 I don't want to use this because it's too long for users when you try to
 upload multiple huge files..

No matter what, it's going to take a long time to upload multiple huge
files.  There may or may not be less overhead using the ftp protocol, but
it will still take a long time.

In general, all you have with PHP is the web browser interface and that
means HTML forms.  Any decent browser (read: one that doesn't have huge
security holes, i.e., Windows Internet Explorer) won't give you access to
any files on the user's filesystem except for those specified by the user in
a file type input box.

 I'm looking for a tool or script that could work like a direct ftp browser
 where you can select files and upload them fast as possible.

There may be Java applets that do that, but there are probably security
issue notices for the user.

Time your FTP upload and your HTTP upload and see what the difference is.  I
don't think there's as big a difference protocol wise as you believe.  If
you're on a shared host, the problem is more likely other traffic on port 80
or that your web traffic is being throttled somehow.  If you run your own
server, try a different port 8000 to see if the speed improves.

I do think that HTTP is often better for downloading because if you support
HTTP-KeepAlive, you have only one connection instead of the two or more
needed for each FTP request.  It also works reliably in nearly all browsers
whereas some may not support ftp.

HTH,

Paul

-- 

I'm inhaling Caesar's last gasp...
http://paul.burney.ws/thoughts/caesars_breath.html


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




Re: [PHP-DB] Re: file upload and php (Not a begginer [sic]question!)

2002-10-15 Thread Russell Griechen

Use SmartFtp
connect ot your website
open the directory
open windows explorer
open the directory and the files you want to upload
drag and drop to Smart Ftp.
I you want to drop in to www or htdocs, simply double click on htdocs
or...www
Then select the complete directory of files and folders that you want
uploaded and it will create any folders needed and fill or overwite any
directories or files.

Russell Griechen
- Original Message -
From: Paul Burney [EMAIL PROTECTED]

  I'm looking for a tool or script that could work like a direct ftp
browser
  where you can select files and upload them fast as possible.



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