473,498 Members | 1,741 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

php ftp upload problem

I have this problem were I've created a script to enable users to
upload files, but since my host has disabled the natural php functions
for this I have been forced to turn to ftp.

The problem I am having is that when I try to upload files semi-large
files (not really, just in comparison to everything else), such as a
2.5 megabyte video file, only about 240k will go through.

I don't think its my internet connection because 1 I don't lose my
internet connection, 2 because everytime I upload the same video, I
only get 240k to go through everytime, and 3 because when I try a
smaller image with a file size of 450k, only about 70k goes through.

240k for video, 70k for large image??

Any help or explanation for this issue would be appreciated?

Thanks

Dec 12 '07 #1
1 1590
On Wed, 12 Dec 2007 17:56:04 +0100, Rozzy <ro*****@gmail.comwrote:
I have this problem were I've created a script to enable users to
upload files, but since my host has disabled the natural php functions
for this I have been forced to turn to ftp.

The problem I am having is that when I try to upload files semi-large
files (not really, just in comparison to everything else), such as a
2.5 megabyte video file, only about 240k will go through.

I don't think its my internet connection because 1 I don't lose my
internet connection, 2 because everytime I upload the same video, I
only get 240k to go through everytime, and 3 because when I try a
smaller image with a file size of 450k, only about 70k goes through.

240k for video, 70k for large image??

Any help or explanation for this issue would be appreciated?
So, users upload an image, which you then reallocate using php by ftp?
Tried a passive connection? Checked for timeouts?
--
Rik Wasmus
Dec 12 '07 #2

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

Similar topics

15
11972
by: lawrence | last post by:
I've been using the following function (yes, it is inelegant, what can I say, I wrote it a long time ago) to upload images. Haven't had a problem with it for at least a year, and I don't recall...
3
11735
by: dave | last post by:
Hello there, I am at my wit's end ! I have used the following script succesfully to upload an image to my web space. But what I really want to be able to do is to update an existing record in a...
4
2406
by: NohaKhalifa | last post by:
Dear All; I'm developing a web site and i need to make adminisration for this site it's a site for Real Estates . But I don't need the administration to be online .. I want them to fill data...
2
2851
by: Gary \(Girish\) | last post by:
Hello: I am using SA-FileUp to enable members to upload their product images to my ISP sever. When member uploaded a new image file, the file name is replaced with the member ID and the old file...
4
4448
by: Matt Jensen | last post by:
Howdy I've got a rather strange issue occuring. I used forms based .NET authentication, although I'm also setting some session variables when people login. However, I've found when people use...
1
8404
by: Alex | last post by:
I am having issues with a script to upload files from a client to a webserver. The problem is not with the actual upload but with where it uploads. The whole process is supposed to create a...
9
3813
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
6
3028
by: Vic Spainhower | last post by:
Hello, I am trying to do a FTP file upload which works fine on my localhost but on my ISP server it fails. I can't seem to find where I can go to find the specific cause of the failure. In both...
7
3165
by: pbd22 | last post by:
hi. i am having probs understanding how to grab a file being uploaded from a remote client. i am using hidden input fields for upload such as: <input id="my_file_element" type="file"...
2
3326
by: printline | last post by:
Hi' all I have a strange problem when uploading files from a form to my ftp site. Here is my code: <?php $myFile = $_FILES; // This will make an array out of the file information that was...
0
7125
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
7002
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
7165
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
7203
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...
1
6885
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...
1
4908
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
3093
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
3081
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.