Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

move file command in sftp

Posted on 2009-05-14
4
Medium Priority
?
495 Views
Last Modified: 2012-05-06
Is there a move command when using sftp?  i can sftp to the server, but only a rename command is available as far as i can tell.  i'm downloading a file and once i down load it, i would like to move the file onto a different directory (Processed) so that i don't have to see it every time i log back in.  I don't want to delet it since i may need to download it again incase my local one is lost.
0
Comment
Question by:nohurt
  • 2
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
drgonzo1967 earned 1500 total points
ID: 24384196
Hey nohurt.

From the following link...
<http://www.bitvise.com/files/sftpc-v4.14-commands.txt>

sftp> help move

USAGE: move remote-source-path remote-destination-path [-d]
DESCRIPTION: Move the specified remote file.
PARAMETERS:
 -d    When using wildcards, move matching directories as well.
SYNONYM: mv, rename, ren

Hope this helps!
-gonzo
0
 

Author Comment

by:nohurt
ID: 24386426
that link didn't work for me.
but, your comment on "help move" got me past it. it looks like the sftp server i connect to does not have the option for move.  just ls, put, get, and a few others.  but no move or copy is available.  i'll have to ask the people hosting it.
0
 

Author Closing Comment

by:nohurt
ID: 31581338
didn't get the answer i needed, but put me in the right direction.
0
 
LVL 1

Expert Comment

by:drgonzo1967
ID: 24394921
Hey nohurt,
Sorry about that link.  Looks like it added a %3E to the end.  Here is the link again just in case you did want a look.  Glad that helped!
http://www.bitvise.com/files/sftpc-v4.14-commands.txt

-gonzo
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

A new hacking trick has emerged leveraging your own helpdesk or support ticketing tools as an easy way to distribute malware.
Your business may be under attack from a silent enemy that is hard to detect. It works stealthily in the shadows to access and exploit your critical business information, sensitive confidential data and intellectual property, for commercial gain. T…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

972 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