Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

wwwxxxAPC, How to unsubscrube from dategen spam, WWWXXXAPC, docmd.close 2585, WWWXXXDOCO, nu vot, dhcpd lease file "binding state", WWWXXXDOCO, how to setup procmail to process html2text, how to setup procmail html2text

Links

XODOX
Impressum

#1: Background Refresh

Posted on 2008-01-21 23:08:30 by sdastouri

Hi Guys,
I need some help.
I am using php_move_file to upload some files to the server. I want to
be able to support large files. But the Apache settings is that after
90 sec. the connections resets. This becomes a problem with large
files (slow links). Is there anyway to write a script that would
refresh in the background.

Also is there a way to upload a files in increments? So using
$_FILE['size] we get the size of the file. and then upload the first
1MB then refresh, then 2nd 1mb and so on.

Thanks

Sean

Report this message

#2: Re: Background Refresh

Posted on 2008-01-22 00:01:11 by Courtney

sdastouri@gmail.com wrote:
> Hi Guys,
> I need some help.
> I am using php_move_file to upload some files to the server. I want to
> be able to support large files. But the Apache settings is that after
> 90 sec. the connections resets.

Are you sure?
Generally timeoutsarefor'no data being sent/recieved' not 'data in
progres' as it were.

I have sent accidentally a 60MB file that took 15 minutes to
complete..but complete it did..



This becomes a problem with large
> files (slow links). Is there anyway to write a script that would
> refresh in the background.
>
> Also is there a way to upload a files in increments? So using
> $_FILE['size] we get the size of the file. and then upload the first
> 1MB then refresh, then 2nd 1mb and so on.
>
> Thanks
>
> Sean

Report this message

#3: Re: Background Refresh

Posted on 2008-01-22 10:20:55 by colin.mckinnon

On 21 Jan, 22:08, sdasto...@gmail.com wrote:
> Hi Guys,
> I need some help.
> I am using php_move_file to upload some files to the server. I want to
> be able to support large files. But the Apache settings is that after
> 90 sec. the connections resets. This becomes a problem with large
> files (slow links). Is there anyway to write a script that would
> refresh in the background.
>
> Also is there a way to upload a files in increments? So using
> $_FILE['size] we get the size of the file. and then upload the first
> 1MB then refresh, then 2nd 1mb and so on.
>

Short answer is no - that requires a lot more smarts at the client
side. If you running PHP at the client side then by all means. If
you're running a browser you'll need to write a java application.

C.

Report this message