Solved

move file command in sftp

Posted on 2009-05-14
4
488 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 500 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert MSI to MSM 1 74
Why would someone make a DC a member of the administrator's group 6 74
Disk Quota Windows 2012 R2 6 96
OS Selection Menu 1 46
Both MMF (multi-mode fiber) and SMF (single-mode fiber) are types of optical fiber that can aid in communication applications. These thin strands of silica or glass will allow communication to occur between devices. The transmission of light between…
This comprehensive conference-networking guide will help you prep, practice and pack for success, reach out with purpose and confidence, capitalize on connections, and turn all those new leads into long-term connections.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

791 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