473,394 Members | 1,761 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

FTP vs. HTTP file upload limit

25
I want to include a file upload script on my website. The FTP max file size is unlimited, but the HTTP max file size is lower than the files I want to upload.

Would using the PHP FTP functions with a file upload form get around this problem, or will it still use HTTP to upload the file to the temporary directory.
Oct 11 '10 #1
1 2529
Atli
5,058 Expert 4TB
A file upload form (by which I assume you are talking about a standard <form enctype="multipart/form-data"> form) is sent via HTTP. Using FTP server-side will not bypass the fact that the browser sends the file to PHP via a normal HTTP request.

The only way to increase the allowed size of HTTP uploads is to configure your HTTP server, and PHP, accordingly. - If you can't do that, the only other way to include a upload form on your site is to use a client-side app capable of initiating indipendant, non-HTTP connections. Like a Java app, or possibly Flash.
Oct 11 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Dave | last post by:
Greetings. Ive been trying to figure out how I can write to a file from an HTTP post while it is being uploaded. So far ive realized that my script isn't getting the data until the browser is...
3
by: alastair | last post by:
Hi, I'm attempting to test out some functionality of the Apache http server. What I'd like to do is send a file to the server - eg. a text file or binary file (I will be testing gzipped...
3
by: MSNews | last post by:
There are numerous methods of uploading files using HTTP. Is all that's necessary to get secure file upload would to reference a web page containing the appropriate html file upload code using...
5
by: Andy Mee | last post by:
Hello one and all, I'm developing an Asp.NET system to take a CSV file uploaded via the web, parse it, and insert the values into an SQL database. My sticking point comes when I try to split()...
1
by: lazyadmin | last post by:
I would like to use this code on my website to allow simple file uploads from clients. I would like to restrict the file types they can upload. Can this be done? Any help appreciated. Rod...
6
by: Tom Kaminski [MVP] | last post by:
Is there anyway to gracefully catch a file upload limit error? When the limit is exceeded, IE displays a generic "Cannot find server or DNS error" message. -- Tom Kaminski IIS MVP...
4
by: MS News \(MS ILM\) | last post by:
Hello, How do I handle a user uploading a file from the browser that exceeds the limit set by web or machine config files global.asax or handlers or module How can I return to the same...
1
by: JohnSouth | last post by:
I've a C# windows application (not asp.net) that needs to upload simple XML files to a URL on a website. I've tried WebClient such as WebClient Client= new WebClient();...
1
by: Paul | last post by:
My host has a 2MB limit on file uploads and can't change it but they do not have a limit on ftp files uploads. Is there a way to use ftp from the form to upload a file? Thanks
3
by: Paul Wardle | last post by:
Hi I have written a program to upload files using ftp/http. So far, so good, I have coded my solution. Now I need to test it. I have access to an ftp site and the ftp upload works OK. I now...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...
0
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...

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.