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 1 1610
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 changing it
anytime recently. Nevertheless, the script is suddenly dying on this
line:
if (copy($uploadedFile, $pathToImageFolder)){
This is the error I get:
|
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 table in MySQL with the path & filename to
the image.
I have successfully uploaded and performed an update query on the database,
but the problem I have is I cannot retain the primary key field in a
variable which is then used in a SQL update...
|
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 and images offline and then send them online...
but i have a problem regarding the images i want it to be sent to the
web site So i want if there is a possible way to fill data offline and
|
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 is then overwrited.
Here is the problem:
Member can uploaded new image at "Upload page" BEFORE viewing the new
image at the "Detail page" without any problem. However, when member 1st
viewed the image at the "Detail page" and then upload the...
|
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 one of my webform pages which includes a
button that pops up a window where you can upload files, if you upload files
in this popup window, it seems to somehow clear out all of the session
variables and the users get logged out. However, if...
| |
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 folder (it does)
then upload the file to that folder and this is where the problem comes
in. The file is written to the parent directory, not the directory
that was created for this user. Following is the code.
<%
strFTProotFolder =...
|
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 site for a small club I belong to and one of
the features I would like to include is the ability to allow users to upload
image files.
unfortunately the servers web root www folder only allows READ and EXECUTE
permissions, which makes it...
|
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 cases the file is being transmitted
to the same FTP server and using the same PHP script so it shouldn't be a
file size or login credentials problem. Could someone please help me out and
give me some ideas what is wrong.
I would really...
|
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" name="file_1" size=46 /><input
type=submit />
so, after adding a few files, the input fields look like this:
|
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 stored.
$file = $myFile; //Converts the array into a new string containing the path name on the server where your file is.
$myFileName = $_POST; //Retrieve file path and file name
|
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: 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...
|
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: 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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |