Uploading Files To Server
Nov 9, 2009Why is it that you can upload large file size when you are using FTP, but you cant upload large file size beyond the max when you are using browser to upload?
View 3 RepliesWhy is it that you can upload large file size when you are using FTP, but you cant upload large file size beyond the max when you are using browser to upload?
View 3 Repliesi have free hosting server and a rule to upload 3MB file max. it works for FTP, but somehow it doesn't work for php. It seems for php the limit on my server is 100MB (no idea why)
i use following directives to limit file size in php.ini :
; Maximum size of POST data that PHP will accept.
post_max_size = 4M
(4 just for some margin )
; Maximum allowed size for uploaded files.
upload_max_filesize = 3M
and i still can find 100MB files on disk. this is part of log file from apache from the account that uploaded it to me:
Code:
boorako.[] someip - - [13/May/2007:12:21:22 +0200]
"POST /a/redir.php?capthatag=accesscode&saveto=&path=/some/path/boorako.[]/a&comment=&domail=&email=&useproxy=
&proxy=&split=&method=tc&partSize=10&redirto=/a/index.php&link=redir.php?capthatag=accesscode&saveto=&path=
/some/path/boorako.[]/a&comment=&domail=&email=&useproxy=&proxy=&split=&method=tc&partSize=10&redirto=
/a/index.php&link=[url]
HTTP/1.1" 302 188
[url]
boorako.[] someip - - [13/May/2007:12:21:35 +0200]
"POST /a/redir.php?capthatag=accesscode&saveto=&path=/some/path/boorako.[]/a&comment=
&domail=&email=&useproxy=
&proxy=&split=&method=tc&partSize=10&redirto=/a/index.php&link=redir.php?capthatag=accesscode&saveto=&path=
/some/path/boorako.[]/a&comment=&domail=&email=&useproxy=&proxy=&split=&method=tc&partSize=10&redirto=
/a/index.php&link=[url]
HTTP/1.1" 302 188 [url]
"Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3"
as the effect of this (at least i think so), there was 100MB file in his home dir.
any idea how can he POST such big files even with those two directives?
i have also set LimitRequestBody to 5194304 and LimitXMLRequestBody to 5194304 in apache2.conf which also should stop files being POSTED as big as 100MB.
i have php 4.4.4-9, Linux Debian, apache 2.2.3 working in worker mpm, and php as fastcgi.
P.S. i removed server info like IP, dir and address to not show specifics about my server in public, i put [] there.
I am being hacked & I don't know how they are getting files on my server. They are doing it on two of my domains, I suspended one and then they got it on the other. My FTP access log does not show anything suspicious..
How can I find their doorway?
I've just uploaded my website files onto the server, the website is working fine, but I'm not sure my files are 'arranged' right. I uploaded my images in a folder, but all the rest of the files are 'loose' along with the index file. If I go to either of my domain names, the website appears, which is ok for now, but I only really intended it to under one domain name, so there may be problems if I want another site up there. I think my files should be in a folder. Is this right? Should the index file be in the same folder, or should it be outside the folder with the links changed accordingly. I've been emailing my hosting service, and they 've been trying to help, but I feel a bit thick because I don't really understand what they're saying. Could someone tell me in very plain english how the files should be arranged?
View 11 Replies View Relatedi just bought php file management script, its running smoothly, the only problem was i cant upload big file ( > 1 Gigs ) using that script, then i ask the developer and he said it shouldnt be a problem since he sold that software before people and he never got a problem like that.
OS : Slamd64
apache 2.2.10
php 5.2.8
i tried to changed
post_max_size = 1900M
upload_max_filesize = 1500M
I want to install a script (a simple wordpress blog)on my website but now i'm just astonished at how many files I have to upload on my server's directory! Uploading those files one by one will take forever. Is there a way to upload multiple files all at once?
View 3 Replies View RelatedHi guys, I've been having problems trying to edit my php.ini file which I think I've now fixed.
The whole reason I wanted to do this was because I've just moved to Media Temple from another hosting company and I'm having a couple of problems with the switchover.
Basically I use a CMS system to add properties which appear on the main website. I also upload PDFs and images. On the old hosting company, the PDFs and images went into folders called dnDir/pdf and dnDir/images but on Media Temple, they are going in to a folder called tmp. I really want them to go to the same place as they used to.
Is this an issue with php.ini that I need to rectify? If so, could you point me in the right direction?
It appears that some people like to take advantage of those files for online web applications such as Wordpress which have php files with permissions set to 777. They use those as a means of creating an upload file. The upload files that they create then have access to the whole server somehow... Is there anyway of preventing this from happening?
View 8 Replies View RelatedThere is a behavour with my server FTP when uploading a whole directory with many files in many sub-directories
Very often, the server disconnect itself when actively uploading files and the log simply says 'timeout'
It is as if the file got 'stuck' half way, and the FTP consider them as idle, therefore it disconnect you with a 'timeout' before reconnecting you.
But i have no problem uploading a single 200mb file to the server via FTP. I suppose no problem with 'keep alive'
So what is this behavior and how to solve it?
I'm facing a very strange FTP issue with one of my shared-hosting accounts, while all of my other servers are having no problems but only this one, when I try to upload a file (whatever file) larger than 500kb from my local PCs, in most cases, the file would stop uploading during the process and hang there until it times out.
There are 2 interesting things though:
The file transmission typically hangs when approximately 248kb of the file have been transferred, pls see the attached screenshot for example.
If you look at the attached screenshot, you will notice that the uploading transmission hangs when 248kb of the file have been transferred. This is very strange and what I mean is that for example, I randomly pick up a file, and attempt to upload it onto my host for 10 times, now see, 5 times it will hang when 248kb of the total size have been transferred, 3 times it will hang at other points *near* 248kb (224kb or 280kb typically), 1 time it will hang at another random point, and 1 time it might be uploaded successfully (yes, there is still a tiny chance for the file to be uploaded successfully).
My default internet uploading speed is 80kb/s-100kb/s, lately I found that, when I limit the uploading speed on my FTP client (e.g. max. 30kb/s), everything WILL WORK without any problem! No hangs, no interrupt.. Whereas when I free up the uploading speed limitation and let it upload with my regular speed, the problem appears again.
It seems to me that the FTP hangs only when the uploading speed is higher than 60kb/s. However my host provider told me that they have customers uploading without any problem at over 400kb/s, and they said "there's no problem or limitations on the server at all".
Up until now, I have done following things to troubleshoot the issue but with no luck:
Contacted my host.
Disabled/Enabled the PASV mode on my FTP client.
Tried different FTP clients on different computers (FlashFXP and Filezilla).
Rebooted my router and reseted everything with the factory default settings.
Contacted my ISP for the issue, they "did something" but nothing were helpful.
Rebooted all my PCs.
Disabled both firewalls on my PC and on the router.
Furthermore, I have asked another friend of mine in another city with another ISP to test the FTP uploading, but unfortunately he got the exact same problem. And I've done some search on the internet for hours but no one seemed to have the same problem..
Domain has PHP Settings in Plesk set to 2G and I get this error when uploading a 48MB file using Wordpress. I assume I need ot modify this manually in conf file somewhere to allow uploading large files?
Requested content-length of 48443338 is larger than the configured limit of 10240000..
mod_fcgid: error reading data, FastCGI server closed connection...
to upload some flash videos over to our web host.
All the videos have been uploaded to << link removed >> and in there you will seea flash_video directory, in there should be a html file where you can double click and watch the flash video.
Now go ahead and try it, click on the HTML file and click CONTINUE and try clicking on MODULE 1.. You will see a video play to the left but on the right are bunch of POWERPOINT slides that will appear as the guy continues to speak. THAT DOESNT SHOW..
Our website is hosted by xo.com
Dont know much about the plan since its my 2nd day at the job..
But here is the weird part,
i have uploaded the samething - same exact way to another web host and it plays fine, the PPTs show up fine..
What do you guys think it is?
Before someone asks about uploading methods, i tried filezilla, coreftp and cuteFTP using both ASCII and binary methods. Samething..
I've just installed SSL and I'm wondering where should I put my files so that users from web are accessible only through SSL?
Do I have to upload whole site to the Private_html folder instead of public_html folder?
i have a problem trying to upload files to a server, when i try and upload a file, (.htm) i get a message: file already exists (even though it doesn't), which if i then say to overwrite, it creates an empty file of 0mb, (with the name of the file i am trying to upload).
i don't know a great deal about web servers - are there any web server settings which may be causing this.
Can someone volunteer (using the word "volunteer" because the one who agrees to help can be getting some really beginner level questions) to help me on uploading my website to a web server. The thing is i have designed and optimized (seo) some websites but i never had an experience of uploading a website on webserver (in other words launching it). I have this simple webpage and a free hosting service (Frihost) ... once i learn how to upload a webpage and get it running online .. i will make changes in the webpage and go for some paid hosting service. So can someone guide me at this? Specially the one who has hosted some page at Frihost.
View 4 Replies View Relatedtried to download files from http links to my ftp server. i looked all over the forums but could not find any services. google spitted out this one. [url]Well, it really does help to upload http links to an ftp server and move files from one ftp server to another. does anyone know other services or free scripts that help to do this?
View 0 Replies View RelatedI have a Dating Portal >>> Dating Sites but HTML file isn't uploading on my server "site5.com" Except HTML file every file is uploading there but HTML isn't
View 2 Replies View Relatedi am uploading a zip to show everyone one of my flash projects and to get feedback, i want to uplaod the original flash file along with the HTML page in a zip, would i just upload the zip file onto my server and then when you access that web page it asks you to download it or is there more to it?
View 6 Replies View Relateduploading some stuff to my servers, and it's going at about 50-60 kbps.
what would be a good service that could see my uploading speed rise to about 100-200 kbps?
I live in Canada, BC to be more specific
The Details:
XP Home, Verizon DSL, AVG, ZoneAlarm, CoffeeCup FTP, FileZilla FTP
So this all started about 5 days ago and I cannot think of anything that I did to associate this issue with. I'm very computer savvy and no one else uses this computer except for me (to help move things along faster). Essentially what happens when I start CoffeeCup FTP or FileZilla FTP (testing to make sure it wasn't just a problem with CoffeeCup FTP) and try to upload image files it fails, not the upload itself.. but somehow the image files are corrupt (no they're not CMYK, they're RGB). So it shows the file on my server, correct size, no error messages. However, when I go to the image URL it just shows the image URL where the image should be. I then restart CoffeeCup FTP and everything uploads properly. I've checked the lines on DSLReports.com, I've checked ZoneAlarm to make sure that I didn't somehow accidentally click no to something (which is unlikely). I keep my computer very clean and very organized and very up to date so it would be more helpful to me if someone could share some ideas of something that could happen that's not of my control. Could this possibly have anything to do with SP3 (the only thing I can recall being a change on my computer).
I have a flash swf that I use to upload files… however to get this to work on the server you have to do something like turn on shockwave uploading?… do you know what you need to do to upload using flash swf?
View 0 Replies View RelatedI've been using a Fedora Core 6 box to develop my site with PHP and MySQL. The web directory is /var/www/html.
I just recently bought my first hosting plan, and it says to upload my site to the Htdocs folder.
Is this a BSD server? I know nothing about BSD, and I'm worried, because I don't know if my site is going to need to be re-written. You see, some of my files, like the db connection script, are in /var/www/myfoldername ... Is there an equivalent on my new rented server, where I can put these files?
How about my databases? When I run the installer I wrote to create them, it just creates them, and FC6 has been doing what it will with them to get them working. Am I going to have issues connecting, because they're stored in a different dir?
we have been trying to import sql databases through cpanel.
The old server the client was on did not have any control panel. While the new server the client is migrating to, has cpanel. We try importing sql databases through cpanel, but because the sql databases are so large in size, they corrupt while importing them.
The client's old server he would be able to access all his sql databases through FTP.
While with this new cpanel server, we can't upload sql databases by FTP. We are wanting to use FTP because when using cpanel, the sql databases corrupt.
So is there anyway to upload sql databases with FTP directly into mysql when using cpanel server?
ive just token over my old hosts server as he had no time to run his hosting company so im a nOOb to the whole server management shell side of things, and im wondering if someone could help point me in the way of a tutorial on how to upload to the shell of the server, im trying to upload whm master reseller and some other cpanel addons,
View 1 Replies View RelatedDoes anyone host with 1and1 and use PHP to upload files???
I can't find anywhere on the 1and1 FAQs that say what the temporary file directory is for uploaded files.
Anyone been there before who can help?
uploading my wordpress theme w/ Dreamhost. The zip file that I am attempting to host is too large for Dreamhost and I keep getting an error.
View 9 Replies View RelatedA website I am involved with may soon hit a problem due image uploading being stored on only one server. We are unable to find a realistic solution which would allow us to upload images from 1 central location.
The website is programmed in PHP and is on a standalone web-server - currently the images are uploaded to the same directory as the website however we are looking to move the images to another server for scalability.
Is it possible at all to upload using a directory link of some kind, eg, the directory would be /serverip/path/to/images which you would upload to? Or any other realistic approaches that you know off.
I have heard that people can upload scripts onto your server if you have any writable directories. Is this true? If yes, how do they do it?
And is there a script I can run on my server to find out what DBs I have on it?
I've recently moved to a new provider and noticed that one of my sites that was using a flash file uploader without any problems now receives a 406 error whenever a file upload finishes.
After some digging online i found that the problem could be caused by mod_security and found a tutorial which explains that by using .htaccess u can disable mod_security for the particular domain. I've tried that but receiving internal server error who seems to indicate that mod_security is not actually running.
I looked at the domain's error log file and no entry is being written to the log when the error occurs.
Anyone have any ideas how to fix it? Or at least where to look for the causes.
I'm using the following flash uploader:
[url]
Server is running CentOS and WHM .. the original server that didnt have a problem with the uploads was running Fedora and WHM.
I am using Windows XP (my laptop) to run a server for localized testing for a site that I run. I am using the WAMP5 on Windows XP.
I got everything setup (phpbb board) vanilla install. Everything went fine, no problems. The script uploaded all the tables on its own.
I pulled the database from the real server to drop into the test site.
Every time I try to upload a sql file that's 11.9Mb in size, I get a "Error: You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit." so I checked the configuration and set it to a 1024Mb file size and like 2048 memory size.
I even tried a 30Kb sized file and I still get the same error. What do I need to do to get this to work?
Also when I check all tables and use the drop down menu to select drop, it just bring my back to the start phpmyadmin page and nothing happens. I can drop the table individually, but that'll take too long, there are over 40 of them.
What else do I need to look for/configure so this will work?