How to use FTP for download

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
skbeacon
Forum Newbie
Posts: 3
Joined: Sun Jul 16, 2006 7:48 am

How to use FTP for download

Post by skbeacon »

Hello everyone,
I am a novice to this PHP. While I was practicing this I faced a problem relating to ftp. In PHP how can I give a ftp download link?
Thank you.
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Post by tecktalkcm0391 »

Are you trying to push a download or just have the link ftp://site.com/file.exe
skbeacon
Forum Newbie
Posts: 3
Joined: Sun Jul 16, 2006 7:48 am

Post by skbeacon »

Hello,

I am trying to make a link of ftp from where people, visiting the site, can download files.

Thanx
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

Code: Select all

<a href="ftp://ftpsite.com">ftp</a>
?
skbeacon
Forum Newbie
Posts: 3
Joined: Sun Jul 16, 2006 7:48 am

Post by skbeacon »

Hi,

Thanks :D . I tried in the similar way but instead of "ftpsite.com" I used "ftp://filename". This is wrong I guess after seeing your code. I use dreamweaver for my designing n development purpuse. How to create that ftp in here? Sorry for asking so much questions.

Thank
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

I don't know but I would try Google.
Post Reply