Hi, I need some recommendations for uploading files to the server.
Right now I have a php script that uses ftp to upload, download, and
delete files, and everything works fine for small files.
However, the original purpose for this script was to be able to upload
large files (100 - 200 MB). The problem is that the request times out.
Now I'm a php noob so I don't know if the problem is my internet
connection, my host's bandwidth, or both.
Could someone please give me an idea of how fast my own internet
connection should be the bandwidth from my host or any possible
solutions to the problem.
I have also considered various free file sharing services such as
mediafire.com. If anybody thinks this is a better solution let me
know, and maybe recommend some other sites, I need to be able to set
permissions for files so customers can only download and delete files
intended for them.
Thanks, your help is much appreciated. 7 1600
"Rozzy" <ro*****@gmail. comwrote in message
news:72******** *************** ***********@1g2 000hsl.googlegr oups.com...
Hi, I need some recommendations for uploading files to the server.
Right now I have a php script that uses ftp to upload, download, and
delete files, and everything works fine for small files.
However, the original purpose for this script was to be able to upload
large files (100 - 200 MB). The problem is that the request times out.
Now I'm a php noob so I don't know if the problem is my internet
connection, my host's bandwidth, or both.
Could someone please give me an idea of how fast my own internet
connection should be the bandwidth from my host or any possible
solutions to the problem.
I have also considered various free file sharing services such as
mediafire.com. If anybody thinks this is a better solution let me
know, and maybe recommend some other sites, I need to be able to set
permissions for files so customers can only download and delete files
intended for them.
what is your max_execution time set for? is the browser timing out, or is
php?
There are some directives in the php.ini file that you may need to
alter, such as:
upload_max_file size - Maximum allowed size for uploaded files.
max_execution_t ime - Maximum execution time of each script, in seconds
max_input_time - Maximum amount of time each script may spend parsing
request data
On Dec 19, 11:48 am, "Steve" <no....@example .comwrote:
"Rozzy" <rozm...@gmail. comwrote in message
news:72******** *************** ***********@1g2 000hsl.googlegr oups.com...
Hi, I need some recommendations for uploading files to the server.
Right now I have a php script that uses ftp to upload, download, and
delete files, and everything works fine for small files.
However, the original purpose for this script was to be able to upload
large files (100 - 200 MB). The problem is that the request times out.
Now I'm a php noob so I don't know if the problem is my internet
connection, my host's bandwidth, or both.
Could someone please give me an idea of how fast my own internet
connection should be the bandwidth from my host or any possible
solutions to the problem.
I have also considered various free file sharing services such as
mediafire.com. If anybody thinks this is a better solution let me
know, and maybe recommend some other sites, I need to be able to set
permissions for files so customers can only download and delete files
intended for them.
what is your max_execution time set for? is the browser timing out, or is
php?
max_execution is set for 30. I'm assuming thats in seconds, and yeah I
don't know if its my browser or php thats timing out, firefox tells me
that the connection was reset if that helps.
On Dec 19, 11:54 am, macca <ptmcna...@goog lemail.comwrote :
There are some directives in the php.ini file that you may need to
alter, such as:
upload_max_file size - Maximum allowed size for uploaded files.
max_execution_t ime - Maximum execution time of each script, in seconds
max_input_time - Maximum amount of time each script may spend parsing
request data
Thanks,
as I mentioned above the max_execution time is 30, upload_max_file size
says 5M, although I asked by host to change it to a couple hundred
megs and he said no problem (don't know if it just takes a while to
show up?), and as for the max_input_time its 60.
So I suppose I should talk to my host about those things, thanks for
the help, and please keep the suggestions coming, I have a feeling
issues will continue with this after I resolve things with my host.
"Rozzy" <ro*****@gmail. comwrote in message
news:ad******** *************** ***********@r29 g2000hsg.google groups.com...
On Dec 19, 11:48 am, "Steve" <no....@example .comwrote:
>"Rozzy" <rozm...@gmail. comwrote in message
news:72******* *************** ************@1g 2000hsl.googleg roups.com...
Hi, I need some recommendations for uploading files to the server.
Right now I have a php script that uses ftp to upload, download, and
delete files, and everything works fine for small files.
However, the original purpose for this script was to be able to upload
large files (100 - 200 MB). The problem is that the request times out.
Now I'm a php noob so I don't know if the problem is my internet
connection, my host's bandwidth, or both.
Could someone please give me an idea of how fast my own internet
connection should be the bandwidth from my host or any possible
solutions to the problem.
I have also considered various free file sharing services such as
mediafire.com. If anybody thinks this is a better solution let me
know, and maybe recommend some other sites, I need to be able to set
permissions for files so customers can only download and delete files
intended for them.
what is your max_execution time set for? is the browser timing out, or is php?
max_execution is set for 30. I'm assuming thats in seconds, and yeah I
don't know if its my browser or php thats timing out, firefox tells me
that the connection was reset if that helps.
that is in seconds...try setting it to 0. then, make sure (as someone else
mentioned) that you set the maximum allowable upload file size...either to
your specific limit, or -1 (which i think removes the upload file size
check) while you're debugging. right now though, you probably just want to
see that uploading a large file is possible without timing out. that's fine,
just go back and make sure you have *appropriate* settings for your
production environment.
i don't think its your browser timing out at this point. getting a 200MB
file from one pc to another over the internet and doing any kind of
processing on it, all in 30 seconds, is just a bit too optimistic for me. :)
Steve wrote:
<snip>
>
i don't think its your browser timing out at this point. getting a 200MB
file from one pc to another over the internet and doing any kind of
processing on it, all in 30 seconds, is just a bit too optimistic for me. :)
Yes, that must be the problem.
If you have a 1 megabyte upload, you'll need 200 secs for a 200MB file,
assuming the receiving server and your connection have nothing alse to do.
Personally I would advise ftp with resume up/download for such files,
not a php-script.
Regards,
Erwin Moller
"Erwin Moller"
<Si************ *************** *************** @spamyourself.c omwrote in
message news:47******** *************** @news.xs4all.nl ...
Steve wrote:
<snip>
>> i don't think its your browser timing out at this point. getting a 200MB file from one pc to another over the internet and doing any kind of processing on it, all in 30 seconds, is just a bit too optimistic for me. :)
Yes, that must be the problem.
If you have a 1 megabyte upload, you'll need 200 secs for a 200MB file,
assuming the receiving server and your connection have nothing alse to do.
Personally I would advise ftp with resume up/download for such files, not
a php-script.
me to usually, but it's a pain in the ass and is only an option on our
server for me and a couple of others...and a bunch of paperwork to be
approved to justify why you're effecting the system outside of a standardize
interface. sarbanes-oxley (aka sox, sarbox) smokes pole sometimes.
anyway, that may be some of the reasoning behind allowing the activity via
the web. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Virgil Green |
last post by:
I'm building a new PHP-based site. One of the things I need to do is have
the users upload an image (photo) and then allow them to view it and
position it withing a cropping window of a predefined size so I can then do
the cropping and store the cropped image for presentation in a defined
format at a later time.
I'm looking around for such software and find quite a few products, but not
enough information to know which would meet my...
|
by: Y. Sivaram |
last post by:
Hi,
We are looking for a ASP component (ActiveX/Applet) that can zip a file from
client side and upload it to the server. Currently we are evaluating ASP
Upload(It does not have the zip feature) and AppletFile components.
Any recommendations?
Best Regards,
Y. Sivaram
|
by: Uncle Ben |
last post by:
Is there any good and reliable Upload Component for ASP (or ASP.NET)? I
need one which provides an upload status bar.
As well, it must be able to handle more than 4 gigabytes of data transfer.
Internet connections can be unreliable at times. This component needs to be
able to resume broken uploads.
Thank you for your recommendations.
|
by: Byron |
last post by:
Hey,
I've been using SA-Fileup for a while on one server and need to buy some
similar ASP file upload software for another server. I've haven't been
thrilled with some of FileUp's features and it's pricing is pretty
severe.
I'm also aware of Persits' ASPUpload, which is running around $150 for a
single license these days. That's an option.
|
by: Dani |
last post by:
Hi,
I'm hoping that some of you will have experience with uploading images
via ASP to an Access db on a remote server. I've scoured the threads
for code samples, recommendations for particular components (must be
able to upload directly to the db), etc., but all I've found are
suggestions on uploading to a directory.
Any and all help will be sincerely appreciated.
TIA,
| |
by: SEMIH DEMIR |
last post by:
Sitelerden birinde verilen yabancı kaynakli bir scriptti duzenledim
yanlız birseyin içinden bir turlu cıkamadım işin aslı ilk defa
persistin upload componentini kullanacam yanlız suanki haliyle
verdiği hata şu.Bilen arkadaşlar lütfen yardım edin
Persits.Upload.1 error '800a0020'
The system cannot find the path specified.
/classifieds/upload.asp, line 250
|
by: crowl |
last post by:
Hi there,
I am looking for a component allowing me uploading multiple files by my
asp page. I have found several components achieving this by require a
<input type="file" name="FileX"> field for each file to upload. I want
to allow my visitor to select the files to upload in the "Open" window.
In the "Open" window it should be possible to select multiple files.
Does such an asp component exist?
|
by: Wim Cossement |
last post by:
Hello,
I was wondering if there are a few good pages and/or examples on how to
process form data correctly for putting it in a MySQL DB.
Since I'm not used to using PHP a lot, I already found out that
addslashes() can be used escape some characters, but I'm having some
more problems with for instance ä, å and µ (since the text is scientifical)
Now some people also throw in htmlspecialchars() to convert those to
HTML entities, but some...
|
by: darrel |
last post by:
Well, I spent way too many non-billable hours trying to get a progress bar
for large file uploads implemented in a project.
I ended up using the GREAT open source 'NeatUpload' which I have to say
works very well.
The catch is that it uses features in the controls that require that the
server allow the app to run in full trusted mode. I guess this is typical
for that type of control.
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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 we have to send another system
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |