Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

move file command in sftp

Posted on 2009-05-14
4
Medium Priority
?
493 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

Recovering from what the press called "the largest-ever cyber-attack", IT departments worldwide are discussing ways to defend against this in the future. In this process, many people are looking for immediate actions while, instead, they need to tho…
In this article, WatchGuard's Director of Security Strategy and Research Teri Radichel, takes a look at insider threats, the risk they can pose to your organization, and the best ways to defend against them.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

688 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