This Forum Has Been Archived
*Click Here To Visit The NEW Forum*

 

 


PHP FTP

Designing your own website? Need help? Ask your questions and share your favorite resources here... Tables, Forms, Color Scheme & Layout, Scripts, Programs & Resources

Moderators: angienewton, tknoppe, terrapin719, lisamariemary

PHP FTP

Postby jazdmarkets » Tue Apr 07, 2009 12:54 am

What is the FTP server? Please tell me the key of the Renames a file or directory on the FTP server, Changes the current directory to the parent directory on the FTP server?
jazdmarkets
 
Posts: 18
Joined: Tue Feb 03, 2009 4:04 am

Postby terrapin719 » Wed Apr 08, 2009 11:23 am

You just want to rename a directory folder? I'm not sure what you're asking about.
User avatar
terrapin719
Elite Member
 
Posts: 1082
Joined: Thu Jul 07, 2005 2:15 pm
Location: Floating away.....

Postby tknoppe » Wed Apr 08, 2009 12:34 pm

I too am not understanding your question. Are you wanting to know what FTP is and how to use it? Or are you having a specific problem with your FTP client and need help with that? Each FTP client is different, so not always an quick easy answer. :)
User avatar
tknoppe
Elite Member
 
Posts: 1026
Joined: Sun Sep 14, 2008 11:36 am
Location: Missouri, USA

Postby bo2o » Mon Apr 13, 2009 6:42 am

To simply rename a file, type "rename [filename] [newfilename]". The file should now have a new name.

To move a file located in your "www" directory to another directory, type "rename [filename] [new/path/to/filename]". The file should now be located in the directory you specified.

Example: rename test.html mydir/test.html (where "mydir" is a sub-directory of the directory test.html is located in)

You may also move and rename files at the same time.

Example: rename test.html mydir/misc.html (where "mydir" is a sub-directory of the directory test.html is located in)
bo2o
 
Posts: 4
Joined: Mon Nov 03, 2008 11:43 am

re

Postby sharon100 » Fri May 01, 2009 4:58 am

File Transfer Protocol (FTP) is a network protocol used to exchange and manipulate files over a TCP computer network, such as the Internet. An FTP client may connect to an FTP server to manipulate files on that server.FTP runs over TCP.[1] It defaults to listen on port 21 for incoming connections from FTP clients. A connection to this port from the FTP Client forms the control stream on which commands are passed from the FTP client to the FTP server and on occasion from the FTP server to the FTP client. FTP uses out-of-band control, which means it uses a separate connection for control and data. Thus, for the actual file transfer to take place, a different connection is required which is called the data stream. Depending on the transfer mode, the process of setting up the data stream is different. Port 21 for control (or program), port 20 for data.

*edited by mod to remove link*
sharon100
 
Posts: 2
Joined: Fri May 01, 2009 4:47 am


Return to HTML, Web Design & Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron