LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2009, 04:51 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
ftp move file


I use ftp to access the remote server , everything works fine , but I would like to ask can I move the file in the ftp server to another directory ( just like "mv myfile temp" - move myfile to temp directory in linux ) , I read thought the man page , but could not find it , can advise what can i do ? thx
 
Old 04-24-2009, 11:24 PM   #2
Suncoast
Member
 
Registered: Apr 2009
Location: Largo, Florida
Distribution: Slackware
Posts: 208

Rep: Reputation: 35
I've never been able to mv in ftp. You might try "rhelp" once connected to the remote server.

I just retrieve the file, then upload it to the new location.

Steve
 
Old 04-27-2009, 02:26 AM   #3
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 30
thx reply ,

but ftp is only way to access the remote server ( they only allow to use ftp ) , is there other method ? thx
 
Old 05-02-2009, 04:20 PM   #4
Suncoast
Member
 
Registered: Apr 2009
Location: Largo, Florida
Distribution: Slackware
Posts: 208

Rep: Reputation: 35
The "rename" command sometimes works like "mv."

rename ./filename ./newdir/filename

or

rename /home/myid/myfilename /home/myid/folder1/myfilename
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot using FTP move command to move files adrianmak Linux - Networking 4 04-21-2009 12:01 PM
An X ftp client that has Move capability (into the same ftp) ? frenchn00b Linux - Software 3 12-19-2008 07:22 PM
Move FTP Accounts L1nuxbug Linux - Server 1 06-08-2007 05:46 AM
Script for file move after FTP lohrpr Linux - Newbie 2 07-27-2006 11:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration