PHP FTP Can't upload Big FIles


Posted on 16th Feb 2014 07:03 pm by admin

Anyone had any success using FTP to upload a file say 90m?

im using ftp_put and it returns false. BUT the file DOES upload just fine. I even downloaded and tested it, its the full file. But ftp_put still returns false. Now with a 20m file it returns true.

Did you know?Explore Trending and Topic pages for more stories like this.
I have all my php.ini vars for time and size set up really really high, and same problem. I still feel like its a timeout problem but it shouldn't be anymore...

i have these set
default_socket_timeout = 1000
upload_max_filesize = 1024M
post_max_size = 1024M
max_execution_time = 1000
max_input_time = 1000
memory_limit = 1024M

The file is 91m and takes about 6 minutes.


I'm using ajax to do the ftp, and im using another ajax function to check the size against the ftp size, after it reaches 100% it takes about 1 minute to return false from the ajax call. Thats why it feels like it's timing out. I don't know.

Thanks
No comments posted yet

Your Answer:

Login to answer
102 Like 8 Dislike
Previous forums Next forums
Other forums

form variables from database help.
Hi all,

I would like to have a form that gives you options based on the results of an mysql q

jquery validation in codeIgniter
hai i need to add client side validation to my fiels which are selected in a forloop.the fields are

is_dir() problem
Hello,

I'm buidling a php scripts that dynamically get's subfolders from a specific folder.

PO Release Strategy Issue
Hi Experts,

I am facing an issue related to PO release strategy. The details are-
<

WS-Security PL/SQL Forms
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Prod
PL/SQL Release 10.2.0.2.0 - P

Wierd echo error?
Hi, i got the most wierd php error ever and i don't know why..
Code: echo "<t

Disabling SAP menu
How do I disable SAP menu for all the users and just restrict them to User Menu in SAP ECC 6.0?

Check before inserting in DB ???
This is my code
---------------
if ( $_POST ['Submit'])
{{
$username = $_POST ['usernm

use an array from 1 class in a second class
I have a class that adds data to an array

Then I have a second class and I need to check if t

IF STATEMENT HELP
Hi
i have created a calendar from a table:

Code: Calendar: October 2009
<table w

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash