Creation of 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
sahilkumar1234
Forum Newbie
Posts: 3
Joined: Thu Mar 03, 2011 6:08 am

Creation of FTP

Post by sahilkumar1234 »

Hello!

Can any one tell me how to create a FTP by php code. Like FileZilla.

Please tell me asap.
sahilkumar1234
Forum Newbie
Posts: 3
Joined: Thu Mar 03, 2011 6:08 am

Re: Creation of FTP

Post by sahilkumar1234 »

I think no one has any view on this or no one is going to take a challenge in this topic.
User avatar
DigitalMind
Forum Contributor
Posts: 152
Joined: Mon Sep 27, 2010 2:27 am
Location: Ukraine, Kharkov

Re: Creation of FTP

Post by DigitalMind »

I think you should be more specific.
sahilkumar1234
Forum Newbie
Posts: 3
Joined: Thu Mar 03, 2011 6:08 am

Re: Creation of FTP

Post by sahilkumar1234 »

ok thanks at least i got a response from your side.
perhaps you have noticed that FIREFTP an addon for file transfer in MOZILLA FIREFOX.
So i can do the lay out like that but is it possible that the functional part means the file sending purpose can be coded by the help of PHP coding.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: Creation of FTP

Post by John Cartwright »

If you want to implement a FTP client in php, then you can use the ftp family functions.

See http://ca3.php.net/ftp

Otherwise, you need to be specific on what you are asking.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Creation of FTP

Post by pickle »

PHP can't run client-side, so no - you can't create a fully functionaly FTP program like Filezilla, with only PHP.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Creation of FTP

Post by VladSun »

In fact, it would be cool (just cool) to have a "web based" (SaaS) FTP client :)
WinBinder is a new open source extension for PHP, the script programming language. It allows PHP programmers to easily build native Windows applications.
There are 10 types of people in this world, those who understand binary and those who don't
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: Creation of FTP

Post by John Cartwright »

pickle wrote:PHP can't run client-side, so no - you can't create a fully functionaly FTP program like Filezilla, with only PHP.
Why not? If PHP is on the client's machine you could achieve the same functionality.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Creation of FTP

Post by pickle »

I was referring to the vast majority of cases, and what I assumed the original poster was intending - to create a website out of solely PHP that user's can use to FTP. How many people have PHP running as a service on their personal workstation?
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: Creation of FTP

Post by John Cartwright »

pickle wrote:I was referring to the vast majority of cases, and what I assumed the original poster was intending - to create a website out of solely PHP that user's can use to FTP. How many people have PHP running as a service on their personal workstation?
I know quite a few people, and have developed similiar things for my personal use. All I was suggesting is it is possible.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Creation of FTP

Post by pickle »

Fair enough. It is possible, just not practical for a general public application.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply