On Fri, May 8, 2009 at 3:50 PM, Matt Herzog wrote:
> localpath = glob.glob("*.tab")
>
> for blob in localpath:
> sftp.put(blob, filepath)
> sftp.close()
> transport.close()
>
> This fails. I have forgotten most of what I knew, I guess.
How does it fail? Again, the full traceback and error
On Fri, May 8, 2009 at 2:56 PM, Matt Herzog wrote:
> On Fri, May 08, 2009 at 02:30:22PM -0400, Kent Johnson wrote:
>> On Fri, May 8, 2009 at 1:04 PM, Matt Herzog wrote:
>> > Hey All.
>> >
>> > All I need to do in this script is scp or sftp a bunch of files to a
>> > remote server. This script wi
On Fri, May 08, 2009 at 02:30:22PM -0400, Kent Johnson wrote:
> On Fri, May 8, 2009 at 1:04 PM, Matt Herzog wrote:
> > Hey All.
> >
> > All I need to do in this script is scp or sftp a bunch of files to a remote
> > server. This script will run from a cron job eventually.
> >
> > For whatever rea
On Fri, May 8, 2009 at 1:04 PM, Matt Herzog wrote:
> Hey All.
>
> All I need to do in this script is scp or sftp a bunch of files to a remote
> server. This script will run from a cron job eventually.
>
> For whatever reason, paramiko can't cope with a list.
>
> --
Hey All.
All I need to do in this script is scp or sftp a bunch of files to a remote
server. This script will run from a cron job eventually.
For whatever reason, paramiko can't cope with a list.
---
AttributeError