Solved

ftp moving a folder with winscp without moving back and forth

Posted on 2014-12-09
5
183 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 38

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

829 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