fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fab-user] get operation is mangling file names


From: Erik Wickstrom
Subject: [Fab-user] get operation is mangling file names
Date: Tue, 28 Jul 2009 09:52:43 -0700

Hi,

I'm testing Fabric with Rackspace Cloud Sites, which is an environment
without SSH access but it does have SFTP.  Fabric's put operation
seems to work correctly, however "get" is naming the files incorrectly
on the local system.

def cloud():
    env.hosts = ['address@hidden']
    env.password = '********'

def x():
    get('www.test.com/test.txt', './test/')

When I run "fab cloud x", test.txt is downloaded into my local test
directory, but the file is named .ftp2.ftptoyoursite.com
(./test/.ftp2.ftptoyoursite.com)

When I tell "get" to download to "test.txt" I end up with
test.txt.ftp2.ftptoyoursite.com.

Any suggestions?

Thanks!
Erik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]