Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

FTP commands to copy website????


missblonde20

Recommended Posts

Posted

Hi everyone

 

I have the default version of oscommerce running locally on my machine...

I have ftp running as an application on my machine (i think)...

 

well when i did this:

 

[root@localhost root]# ftp ftp.theserver.com

ftp: ftp.theserver.com: Temporary failure in name resolution

ftp>

What does this mean?

 

Does any one know what the commands are in ftp for copying all the wesite files over to my machine, so that we have a test website and a live website???

 

The database on my machine is in /var/lib/mysql/oscomm (oscomm is the name of the database) and my catalog and admin files are in /var/www/html

 

Sam

Posted
Hi everyone

 

I have the default version of oscommerce running locally on my machine...

I have ftp running as an application on my machine (i think)...

 

well when i did this:

 

[root@localhost root]# ftp ftp.theserver.com

ftp: ftp.theserver.com: Temporary failure in name resolution

ftp>

What does this mean?

 

Does any one know what the commands are in ftp for copying all the wesite files over to my machine, so that we have a test website and a live website???

 

The database on my machine is in /var/lib/mysql/oscomm (oscomm is the name of the database) and my catalog and admin files are in /var/www/html

 

Sam

 

What FTP client are you using ?

 

With most - you need to configure it so that it connects either anonymously or via a user id and pwd to your hosted server. For this you will need to know the connection details but the client shoul inform you for what it needs

 

Once connected you will have two sections on your screen - the first will show your local machine and the other will show your server directories.

 

You can then click and drag files from one to the other - (subject to permissions)

 

This at any rate is how smartftp works

 

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Posted

im accessing ftp from a terminal, but dont know any commands or anything, as its just a blank screen that has

 

ftp>

 

at the side (see example below:

 

[root@localhost root]# ftp ftp.theserver.com

ftp: ftp.theserver.com: Temporary failure in name resolution

ftp> ?

Commands may be abbreviated. Commands are:

 

! debug mdir sendport site

$ dir mget put size

account disconnect mkdir pwd status

append exit mls quit struct

ascii form mode quote system

bell get modtime recv sunique

binary glob mput reget tenex

bye hash newer rstatus tick

case help nmap rhelp trace

cd idle nlist rename type

cdup image ntrans reset user

chmod lcd open restart umask

close ls prompt rmdir verbose

cr macdef passive runique ?

delete mdelete proxy send

ftp>

 

does smart ftp work on linux?? as im not on windows

Posted
im accessing ftp from a terminal, but dont know any commands or anything, as its just a blank screen that has

 

ftp>

 

at the side (see example below:

 

[root@localhost root]# ftp ftp.theserver.com

ftp: ftp.theserver.com: Temporary failure in name resolution

ftp> ?

Commands may be abbreviated.  Commands are:

 

!              debug          mdir            sendport        site

$              dir            mget            put            size

account        disconnect      mkdir          pwd            status

append          exit            mls            quit            struct

ascii          form            mode            quote          system

bell            get            modtime        recv            sunique

binary          glob            mput            reget          tenex

bye            hash            newer          rstatus        tick

case            help            nmap            rhelp          trace

cd              idle            nlist          rename          type

cdup            image          ntrans          reset          user

chmod          lcd            open            restart        umask

close          ls              prompt          rmdir          verbose

cr              macdef          passive        runique        ?

delete          mdelete        proxy          send

ftp>

 

does smart ftp work on linux?? as im not on windows

 

 

Ahhhh One who rebelled against the Windows monster :o Sorry smartftp only works with windows at the mo!

 

When you say you are accessing ftp from a terminal - please be clearer - are you logged into your web server and have an FTP client there ? (Some hosts have integrated 3rd party FTP clients for your use when maintaining your site)

 

If so you will need to read what their instructions are to log into your local machine and upload the files from there

 

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Posted
Ahhhh One who rebelled against the Windows monster  :o Sorry smartftp only works with windows at the mo!

 

When you say you are accessing ftp from a terminal - please be clearer - are you logged into your web server and have an FTP client there ? (Some hosts have integrated 3rd party FTP clients for your use when maintaining your site)

 

If so you will need to read what their instructions are to log into your local machine and upload the files from there

 

Charles

 

No its just ftp

its not connected to anything as i dont know how to set that up through commands

 

basically my ftp has no GUI its just like MSDOS, a blank screen with ftp> at the side

Posted

Well you would use it much like a DOS window or the command line itself, after typing ftp you are given ftp>.

 

Type open ftp.theserver.com to make a connection, it will then ask for a username and password.

 

You can traverse using ls, dir, etc. then I believe you use Get filename.ext or directory to transfer the items.

Kenneth S

--------------

Customer "Are you a real programmer?"

Me "No, but I did stay at a Holiday Inn Express last night"

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...