Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 2000
Posts: 29
Member
Member
Offline
Joined: Sep 2000
Posts: 29
Hi

I try to cleanup my Webdirectory and need to copy files from a directory to another directory on the same server over FTP.

I tried several program's FTP Voyager, FlashFTP and cuteFTP but unfortunately I can't find out how it's working.

Can someone help me?

Thanks and BR
Mike

Sponsored Links
Joined: Oct 2000
Posts: 505
Muc Offline
Member
Member
Offline
Joined: Oct 2000
Posts: 505
hmm, I had the same problem some weeks ago...

how to copy & paste files on your ftp I have really no idea, but with smart ftp you can easily cut & paste wink

muc

Joined: Sep 2000
Posts: 29
Member
Member
Offline
Joined: Sep 2000
Posts: 29
Hi

With FTP Voyager was it also possible to move files, but unfortunately not to copy.

cu
Mike

Joined: Jan 2000
Posts: 139
Member
Member
Offline
Joined: Jan 2000
Posts: 139
Hi,

This is a little out of scope of FTP (which stands for File Transfer Protocol) i guess ...

with telnet/ssh you can do a "move" of the files or a "copy" (cp)and a rm afterwards ...

The right tools for the right job i guess ...

Greetz

Knuff

[ May 05, 2001 03:52 PM: Message edited by: knuffel ]

Joined: Sep 2000
Posts: 29
Member
Member
Offline
Joined: Sep 2000
Posts: 29
Hi

I never worked with my Telnet Account by Prohosting. I'm not even sure if I really have a telnet account.

How can I test this and how can I copy the files with Telnet? Is there a instruction somewhere?


cu
Mike

Sponsored Links
Joined: Jan 2000
Posts: 139
Member
Member
Offline
Joined: Jan 2000
Posts: 139
I quickly looked at the prohosting site but couldn't see if they offer it ...

telnet or secure telnet (ssh) makes it possible to login into your server and do much more things easily than you can do with ftp ...

basicly what you could do is open a dosbox (if on Win) and type telnet www.yourdomain.com

If it asks for a username and password it's activated ... (that doesn't mean it's activated for you ...)

SSH (which is more secure) works with an encryption level and needs a little bit custom setup first ... (which IP's are allowed etcetera) but the principal is the same. (you can use putty for both telnet and SSH or any other little nifty uttility)

So when you have access to your server with SSH/telnet and you are logged in you are in your home directory which is the root directory of your website ... (classic setup) ...

be carefull ... laugh

making typos can be lethal if you have no good backup ... (and don't ask your provider to restore your home directory after you deleted everything because he is NOT gonna do that ...

first things first ...

type pwd
it returns /home/yourname

second type man pwd
now you get the help files of the command pwd ...

handy ... ;-)

to exit ... keep on entering or CTRL+C

second a few commands that come in handy ...

ls -ltr list all the files with last used last
vi text editor on linux/unix
to exit vi :q! exit without saving ...
better read the VI help pages first ...

In your case you would use the cp command and later on a rm to dlete the old ones

cp -p /home/yourname/A/* /home/yourname/B/*

would copy everything from dir to the other and keep the file permissions ...

afterwards if you checked it do a rm (remove) and your done ...

BUT .... please be carefull ... you don't have a trashbin like on windows ... deleted is deleted ...

Have Fun ...

Greetz

Knuff

Joined: Sep 2000
Posts: 29
Member
Member
Offline
Joined: Sep 2000
Posts: 29
Hi Knuffel

Thanks again for your help, I will try it this evening, because in the office I'm behind a firewall and have only HTTP access.

cu
Mike

Joined: Sep 2000
Posts: 29
Member
Member
Offline
Joined: Sep 2000
Posts: 29
Hi

Prohosting don't offer Telnet access because of security reason.
I'm just wondering, what do I miss if I don't have this function?

Is there maybe another solution?

BR
Michael


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)