cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Renaming files via SFTP connection

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 14 Jan 2011 13:58:48 +0100 (CET)

On Thu, 13 Jan 2011, balsamik1 wrote:

> curl -u user:pass sftp://host.domain.com/~/mydir -Q 'rename file1 file2'

I would've guessed this should work. I don't know why it doesn't. Does -v
output offer any clues?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-14