473,505 Members | 15,036 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Background Refresh

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
Jan 21 '08 #1
2 1424
sd*******@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
Jan 21 '08 #2
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.
Jan 22 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1771
by: Raf | last post by:
Hello, Could someone explain to me what I did wrong? When I enter wy www address for the first time after starting IE ( www.sterlingstore.tk ) background color for infoboxes is not loading. When...
21
20596
by: Dan V. | last post by:
I have tried a number of things including preloading, but the background image (water tile in header) in IE 6 will not display where other browsers will....
1
2089
by: Zean Smith | last post by:
I am running IIS on Windows 2003 Server, and I have this in my HTML. The problem is, when I change the "banner.jpg" to some filenames, my clients don't see the changes when they open their...
0
1234
by: Stephan Steiner | last post by:
Hi I'm experiencing a weird problem updating the desktop background. I'm using the code from http://www.devhood.com/messages/message_view-2.aspx?thread_id=70216 (at the bottom), which works...
2
4325
by: Sean | last post by:
Hi all, I have a treeview and because I subclass the treeview and allow multiple selection to be done on the treeview, I have a problem changing the background color of the treeview. The...
3
2168
by: Asus | last post by:
Hello, I'm new to Web Services. I'm trying to develop a Web Service that retrieves some data out of a database and sends them to the client as a DataSet when a method is invoked. My question...
7
10039
by: John J. Hughes II | last post by:
I have a DataGridView with a TextBoxColumn. I setting the data source to a List<stringvalue in a static class. The list is filled from a background thread. So far all is fine and it works...
8
5337
by: =?Utf-8?B?R3JlZyBMYXJzZW4=?= | last post by:
I'm trying to figure out how to modify a panel (panel1) from a backgroundworker thread. But can't get the panel to show the new controls added by the backgroundwork task. Here is my code. In...
8
4760
by: Ravi | last post by:
Hi to all, There is a start button in my page. if user clicks on that then a php program should start and should listen on a particular port. and also user should able to do other tasks on...
0
7216
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7098
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7303
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7471
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5028
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3187
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1528
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
407
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.