How the ftp uploads works in PHP? -


i using http://phpseclib.sourceforge.net/ library file uploading using ftp.now cant able understand concept behind "how ftp handling file data while uploading".

what happend is:

i created form file upload submit button.when choose file , click on submit loader starts.but file not coming server.my expectation when click submit button reads data file , push server depending upon packet size mentioned in phpseclib.

any 1 explained me misunderstood or whats happening while loader showing in browser?

edit:

file upload has no issues.only thing why called late.so while uploading whether php move file server tempdirectories. if why need go ftp upload.

i tested 100mb files.files uploaded.what expectation why doesnt start after click submit button?

do have enctype="multipart/form-data" form?

in html, forms need enctype="multipart/form-data" attribute upload file. form looks this:

<form id="form_id" enctype="multipart/form-data" method="post"> <input type="file" name="file" /> <input type="submit" name="submit" value="submit" /> </form> 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -