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
Post a Comment