web based ftp

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
poizn
Forum Newbie
Posts: 17
Joined: Thu Jun 15, 2006 10:12 am
Location: Durban - Souht Africa

web based ftp

Post by poizn »

Hi all

I am trying to create a web based ftp client for my clients. The ftp part is kewl now ;) but i dont know how to bring up the "browse your pc box" to allow the user to select where they would like the file to be downloaded. Can anyone help. If you can you are the MAN (or for that matter the WOMAN) thanks in advance :)
User avatar
seodevhead
Forum Regular
Posts: 705
Joined: Sat Oct 08, 2005 8:18 pm
Location: Windermere, FL

Post by seodevhead »

Code: Select all

<form enctype="multipart/form-data" action="yourpage.php" method="post">
<input type="hidden" name="MAX_FILE_SIZE" value="2524288" />

File: <input type="file" name="upload" />

</form>
User avatar
poizn
Forum Newbie
Posts: 17
Joined: Thu Jun 15, 2006 10:12 am
Location: Durban - Souht Africa

Post by poizn »

Dam seodevhead that was fast reply, but how do i just bring the box up without allowing them to upload files to the server?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Your post is referring to the act of downloading. Search around for "force download."
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

Is a poll really needed here? It doesn't even apply to the topic at hand.

End the poll madness.
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

no more poll
User avatar
poizn
Forum Newbie
Posts: 17
Joined: Thu Jun 15, 2006 10:12 am
Location: Durban - Souht Africa

Post by poizn »

thanks for all the replies

but the poll stays the question may not be relevent to the topic BUT its one of the unanswered question of "life" like where did we come from? where do we go after we die? can blue sheep drink purple milk? (very relevant)

thanks for the suggestion feyd
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

poizn wrote:thanks for all the replies

but the poll stays the question may not be relevent to the topic BUT its one of the unanswered question of "life" like where did we come from? where do we go after we die? can blue sheep drink purple milk? (very relevant)

thanks for the suggestion feyd
And there I was, mistaking you for a developer, not a philosopher. Alas, the trapfalls of life.
User avatar
poizn
Forum Newbie
Posts: 17
Joined: Thu Jun 15, 2006 10:12 am
Location: Durban - Souht Africa

Post by poizn »

hehehe

im so talented i can be both - a developer and a philosopher

:)
Post Reply