473,624 Members | 2,584 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Large files uploading

Lad
If a user will upload large files via FTP protocol, must the user
have an FTP client on his computer or is it possible to use a similar
way to "http form" comunication?
Or is there another way( besides FTP) how to upload large files to
server?
Thank you he help
Lad.

Dec 12 '06 #1
7 3889
Lad wrote:
If a user will upload large files via FTP protocol, must the user
have an FTP client on his computer or is it possible to use a similar
way to "http form" comunication?
to use any communications protocol (including HTTP), both ends must have
programs that can talk that protocol...

</F>

Dec 12 '06 #2
Lad
to use any communications protocol (including HTTP), both ends must have
programs that can talk that protocol...
Sure, but browsers have FTP support. But how to call the FTP API from
Python?
Lad.

Dec 13 '06 #3
Lad kirjoitti:
>to use any communications protocol (including HTTP), both ends must have
programs that can talk that protocol...
Sure, but browsers have FTP support. But how to call the FTP API from
Python?
Lad.
See Python Library Reference for documentation on 'ftplib -- FTP
protocol client'. It has an example to get you started.
HTH,
Jussi Salmela
Dec 13 '06 #4
Lad wrote:
>to use any communications protocol (including HTTP), both ends must have
programs that can talk that protocol...
Sure, but browsers have FTP support.
ftp upload support ?
But how to call the FTP API from Python?
if you want the users to upload things using FTP, why do *you* need
to call "the FTP API" (whatever that is) from Python ? why not just
set up a server?

</F>

Dec 13 '06 #5
Lad wrote:
Or is there another way( besides FTP) how to upload large files to
server?
You can upload via http. The primary problem is that the browser don't
work well with large uploads (give little feedback on the process, IE
may hang etc). You can workaround some limitations by using applets
such as JUpload

http://www.jupload.biz/

i.

Dec 13 '06 #6
Lad

Fredrik,
Thank you for your reply
I need to upload large files ( about 100MB ).
HTTP protocol provides FORMs for uploading which is elegant and good
solution for small files but using HTTP protocol for large files is
not good ( server's timeouts, big memory consumption on server's
side, etc.).
So,I was thinking about FTP protocol, but there may be better solutions
too.
(FTP server would be running on server)
I am sure, it can be done this or that way in Python too. (YouTube.com
is a good example)
Do you have any idea how to do that?

Thank you
Lad,
As I mentioned YouTube also uses Python , so I thi
>
But how to call the FTP API from Python?

if you want the users to upload things using FTP, why do *you* need
to call "the FTP API" (whatever that is) from Python ? why not just
set up a server?
Dec 15 '06 #7
Lad wrote:
HTTP protocol provides FORMs for uploading which is elegant and good
solution for small files but using HTTP protocol for large files is
not good ( server's timeouts, big memory consumption on server's
side, etc.).
only if the server's buffering data in memory, of course. that's not
necessary; there's nothing in the HTTP protocol that prevents you from
storing incoming data to disk.
So,I was thinking about FTP protocol, but there may be better solutions
too.
(FTP server would be running on server)
I am sure, it can be done this or that way in Python too. (YouTube.com
is a good example)
I still don't get what Python has to do with it -- your users won't
be using Python, so you need to figure out what uploading tool to use
before you do anything else.
Do you have any idea how to do that?
this message may provide some ideas:

http://article.gmane.org/gmane.comp....ngo.user/19089

</F>

Dec 15 '06 #8

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

Similar topics

0
3110
by: Marc | last post by:
Hello, I have a page where i can upload binary file (using the HTML input type=file approach). This works fine for relatively small files (<6MB)) but when files get bigger (13MB) there is a problem. The code of the php file is based upon the article in http://www.onlamp.com/pub/a/php/2000/09/15/php_mysql.html: uploading large binary files using more than one table and more trhan 1 row per file.
9
3321
by: Markus Ernst | last post by:
Hi For a CMS admin tool I would like to provide a possibility to upload large files to a directory on the webserver. As HTTP uploads are limited in file size and also not comfortable in handling, I thought of an FTP solution. Displaying a link to ftp://mydomain.com/mydirectory is easy but limited to browsers who can act as FTP clients, such as Internet Explorer. When looking at PHP's FTP functions and googling for web-based FTP
2
2680
by: marco.avidano | last post by:
I'm asking: for the PHP parser, it's better to create one large file with all the code inside or a lot of small files? Can a large file slow down the execution of the script?
1
1747
by: David | last post by:
Hello. I can't upload large file with HtmlInputFile control:( Is there any file size limitation in HtmlInputFile control? If yes how can I upload to server large size file? Than you.
2
2699
by: WSE with SSL and large amount of data | last post by:
Hi there, What's the better strategy for uploading large files trough webservices? I can use Dime/WS-Attachments but for files with over 5MB in size, maybe I got some timeout/refuse problems in my server. Is it a good idea upload the files in chucks? In this case, how can I control and validate the transfering, and ensure the security? As a matter of fact, I have to use standarts for EDI processes. Thanks in advanced.
16
4971
by: lawrence k | last post by:
I've a file upload script on my site. I just now used it to upload a small text document (10k). Everything worked fine. Then I tried to upload a 5.3 meg Quicktime video. Didn't work. I've set the POST limit in php.ini to 8 megs. What reasons, other than the POST limit, would a large upload fail?
1
2331
by: Steven Berkovitz | last post by:
Hi there, I am having a problem with an ASP.NET 1.1 application running on II6. When uploading large files, the attempt seems to timeout (in the form of a IE DNS error) after about a minute even though I have adjusted the executionTimeout and maxRequestLength attributes of the httpRuntime element. <httpRuntime executionTimeout="1200" maxRequestLength="20480"
1
726
by: =?Utf-8?B?RGFu?= | last post by:
MS won't seem to let me reply to my old post, so I created a new one. The error occurs in all browsers. It's definitely a server issue, not client. The server is not proxied in any way. I tried uploading the files on the server and experienced the same issues as I get on any other computer. Thanks in advance for your help. Dan
3
8281
by: neovantage | last post by:
Hey all, I need to upload files which are large in size. Though there are 2 fuunction which set the max upload file size and increasing the execution time of the script at run time but is there any script which upload large size files and show the status of upload file size during uploading. For example if my file size is 100MB then during uploading script tell how much transfer, how much remaining and tells the status of completion in...
0
8249
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8685
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8633
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8348
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,...
0
8493
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 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...
0
5570
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();...
0
4187
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1797
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1493
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 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...

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.