Forum Moderators: open

Message Too Old, No Replies

Uploading files

         

Chris_Coin

6:53 pm on Oct 9, 2005 (gmt 0)

10+ Year Member



i found a php scritp that works great for uploading files, but i can upload files to my web host bigger then 2mb, i wrote them to see if i could get it increased but , no deal....

wut i want to do now is upload the files to my own pc, via ftp, i was told javascript can do this.

is ther a way to do this with javascript?

Bernard Marx

7:28 pm on Oct 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Upload the files to your own PC ..?

Chris_Coin

8:18 pm on Oct 9, 2005 (gmt 0)

10+ Year Member



instead of uploading the files to my web host server, i would like them to be uploaded to my harddrive, via ftp

MindlessXD

8:57 pm on Oct 9, 2005 (gmt 0)

10+ Year Member



Erm... I think you'll want to set up a server on your computer... but that would have nothing to do with javascript... and you wouldn't need to FTP them, unless other people need to be able to upload files... so you'll have to explain what you're trying to do in greater detail.

Chris_Coin

11:59 pm on Oct 9, 2005 (gmt 0)

10+ Year Member



ok lets start over.....

i need my clients to be able to upload files that are between 7mb and 10mb in size, ive tryd with php but it only accepts files under 2mb. My website is a hosted site so i do not have access to the php.ini file to allow larger file sizes.

is it possible for people visiting my wesite to send me files that are larger then 2mb?

if so how?

Scally_Ally

7:59 am on Oct 10, 2005 (gmt 0)

10+ Year Member



if there is no way that you ISP can allow for files of larger than 2mb to be uploaded to the server you will have to make your own computer into a server and let them upload to there.

I think maybe changing your ISP might be a good idea.

Bernard Marx

9:21 am on Oct 10, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This article [radinks.com] suggests that you may be able to get round the
upload_max_filesize
directive in
phpini
by using Perl instead (likely that if you have access to PHP, then Perl too).

Chris_Coin

10:29 pm on Oct 10, 2005 (gmt 0)

10+ Year Member



Directed to: Scally_Ally

its not my ISP that wont allow larger files its my webhost, i tried to have the files uploaded to my home computer but it still wont allow for larger files, i think its the php scritp on the server that wont allow for larger files to be uploaded, no matter were i upload the file it wont upload if its bigger then 2mb

Chris_Coin

10:35 pm on Oct 10, 2005 (gmt 0)

10+ Year Member



Directed to: Bernard Marx

thanks for the article, but, my webhost is the only one with access to the php.ini file. i wrote to them asking if it possible to increase the file upload size and they said no

i know how to set up an ftp site from my home pc, but i need a script to upload the files from my website without using php so it wont limit the size of the file

coopster

11:25 pm on Oct 10, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I see you posted [webmasterworld.com] in the PHP Forum too, which is what I think most folks here are telling you is the right idea. JavaScript is a client-side solution whereas your file upload issue is going to require a server-side solution.

Since you are using PHP we'll see if we can't help you out in that forum ;)