Solved

ftp moving a folder with winscp without moving back and forth

Posted on 2014-12-09
5
178 Views
Last Modified: 2014-12-25
without telling me to
save local on windows and upload after to the new folder. Direct moving can be disabled on the linux server.

using winscp for windows with ftp login on a shared linux server

I want to move a folder to another folder

I can not do other login other than ftp

Please do not suggest other types of logins.
0
Comment
Question by:rgb192
5 Comments
 
LVL 37

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40489151
Once connected, in WinSCP type ctrl-t to get a console window. If that works you can:

pwd
cd /some/folder
mv subfolder1 subfolder2

then just close the console window and close the session.
0
 

Author Comment

by:rgb192
ID: 40490241
/$ pwd
257 "/" is your current location
/$ mv others public_html
500 Unknown command

Open in new window


I want to move 'others' folder
to public_html

because 'others' folder is not visible on the internet browser. Only public_html is accessible and visible.


UPDATE:

the only command that works for me is
pwd
/$ pwd
257 "/" is your current location
/$ cd public_html
500 Unknown command
/$ ls
500 Unknown command
/$ dir
500 Unknown command
/$ pwd
257 "/" is your current location

Open in new window

0
 
LVL 40

Expert Comment

by:omarfarid
ID: 40490413
Who is managing the ftp server? what type of ftp server is running?

Is there a firewall between your system and the network? Some application firewalls will allow / block certain application commands.
0
 
LVL 35

Accepted Solution

by:
Robert Schutt earned 500 total points
ID: 40490712
Maybe I missed something, but using the GUI is not an option? Just drag and drop 'others' onto 'public_html' seems to work without a hitch (either in Commander mode or Explorer mode, using the directory tree for example).

Anyway, using the terminal/console (Ctrl+T) the below also works for me, and possibly will show you a better error message if there's something else going on like a permissions problem.

Type:
rnfr others

Open in new window

response should be
350 File exists, ready for destination name.

Open in new window

then type:
rnto public_html/others

Open in new window

response should be:
250 RNTO command successful.

Open in new window

and you should be good to go...
capture
0
 

Author Closing Comment

by:rgb192
ID: 40517621
Thanks for documentation.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

822 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question