Alternatively ... post your code here so folks can see exactly what you're
doing.

On Tue, Dec 21, 2010 at 3:34 PM, Mark Phillip <[email protected]> wrote:

> Hey folks, thanks for the extra thoughts.
>
> The key frustration is that this script has worked fine when communicating
> with our original Linux-based SFTP server--the problem has cropped up after
> moving to a different server.  Manually running SFTP via the command-line
> from the box, and via a GUI on my Windows desktop both work fine.  It's only
> when I run the existing Python script using Paramiko that there is a
> problem.
>
> I'll try stackoverflow and then get to ripping out my last few hair
> follicles.
>
>
>
> Thanks,
> Mark
> http://markphillip.com
>
>
>
> On Tue, Dec 21, 2010 at 2:22 PM, Ian Ward <[email protected]> wrote:
>
>> Mark, what are the symptoms of the failure? Are you reproducing it
>> manually or just with your automation?  Are you using the correct
>> modes (active/passive, bin/ascii)? Are you sure that you're using the
>> right kind of protocol and layer? I had hell finding a python library
>> that supported FTP over implicit SSL, which is different than explicit
>> SSL, SFTP (SSH FTP or SSH2 FTP) or TLS.
>>
>> - ian
>>
>> On Tue, Dec 21, 2010 at 2:09 PM, Mark Phillip <[email protected]>
>> wrote:
>> > Thanks for the thoughts, guys.  Sadly, no luck there.  I've tried
>> forward
>> > and backwards slashes, changing the working directory and not, and even
>> > creating new users and starting from scratch.
>> > Because deletes and puts work just fine, I'm afraid it's some underlying
>> > Linux/Windows communication problem that I just won't be able to solve.
>> >
>> >
>> > Thanks,
>> > Mark
>> > http://markphillip.com
>> >
>> >
>> >
>> > On Tue, Dec 21, 2010 at 11:17 AM, Larry Kubin <[email protected]>
>> wrote:
>> >>
>> >> Haven't used the SFTP libraries, but we run our game server code
>> >> locally on windows during development. It uses Python's Twisted
>> >> Framework and we use backslashes in directory paths. In a string the
>> >> backslash "\" is used to escape characters, so you need to escape the
>> >> backslash itself with another backslash or use a raw string like so:
>> >>
>> >> r'C:\My\Windows\Path'
>> >>
>> >> - Larry
>> >>
>> >>
>> >>
>> >> On Tue, Dec 21, 2010 at 10:42 AM, Josh Kleinpeter <[email protected]>
>> >> wrote:
>> >> > First thing first, have you tried it manually? Is there a difference
>> in
>> >> > the commands you type?
>> >> >
>> >> > It is Windows, maybe '\' instead of '/'?
>> >> >
>> >> >
>> >> > On Dec 21, 2010, at 10:20 AM, Mark Phillip wrote:
>> >> >
>> >> >> Morning folks,
>> >> >>
>> >> >> I have a python script that has been working for quite some time
>> that
>> >> >> connects to an SFTP server, grabs specific files, downloads them,
>> and
>> >> >> finally deletes them off of the remote server.
>> >> >>
>> >> >> Everything works just fine, but we've had to point to a new SFTP
>> server
>> >> >> thats running Windows.
>> >> >>
>> >> >> Now, for some reason, I'm able to push files, delete files, and list
>> >> >> files in a directory, but not actually download the files.  I've
>> tried every
>> >> >> combination of '', '.', './', '/', '/home/', '/foldername/', I can
>> think of
>> >> >> with zero success.
>> >> >>
>> >> >> Does this problem ring a bell for anyone?
>> >> >>
>> >> >>
>> >> >>
>> >> >> Thanks,
>> >> >> Mark
>> >> >> http://markphillip.com
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Our Web site: http://www.RefreshAustin.org/
>> >> >>
>> >> >> You received this message because you are subscribed to the Google
>> >> >> Groups "Refresh Austin" group.
>> >> >>
>> >> >> [ Posting ]
>> >> >> To post to this group, send email to
>> [email protected]
>> >> >> Job-related postings should follow
>> http://tr.im/refreshaustinjobspolicy
>> >> >> We do not accept job posts from recruiters.
>> >> >>
>> >> >> [ Unsubscribe ]
>> >> >> To unsubscribe from this group, send email to
>> >> >> [email protected]<refresh-austin%[email protected]>
>> >> >>
>> >> >> [ More Info ]
>> >> >> For more options, visit this group at
>> >> >> http://groups.google.com/group/Refresh-Austin
>> >> >
>> >> > --
>> >> > Our Web site: http://www.RefreshAustin.org/
>> >> >
>> >> > You received this message because you are subscribed to the Google
>> >> > Groups "Refresh Austin" group.
>> >> >
>> >> > [ Posting ]
>> >> > To post to this group, send email to [email protected]
>> >> > Job-related postings should follow
>> http://tr.im/refreshaustinjobspolicy
>> >> > We do not accept job posts from recruiters.
>> >> >
>> >> > [ Unsubscribe ]
>> >> > To unsubscribe from this group, send email to
>> >> > [email protected]<refresh-austin%[email protected]>
>> >> >
>> >> > [ More Info ]
>> >> > For more options, visit this group at
>> >> > http://groups.google.com/group/Refresh-Austin
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Larry Kubin
>> >>
>> >> --
>> >> Our Web site: http://www.RefreshAustin.org/
>> >>
>> >> You received this message because you are subscribed to the Google
>> Groups
>> >> "Refresh Austin" group.
>> >>
>> >> [ Posting ]
>> >> To post to this group, send email to [email protected]
>> >> Job-related postings should follow
>> http://tr.im/refreshaustinjobspolicy
>> >> We do not accept job posts from recruiters.
>> >>
>> >> [ Unsubscribe ]
>> >> To unsubscribe from this group, send email to
>> >> [email protected]<refresh-austin%[email protected]>
>> >>
>> >> [ More Info ]
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/Refresh-Austin
>> >
>> > --
>> > Our Web site: http://www.RefreshAustin.org/
>> >
>> > You received this message because you are subscribed to the Google
>> Groups
>> > "Refresh Austin" group.
>> >
>> > [ Posting ]
>> > To post to this group, send email to [email protected]
>> > Job-related postings should follow http://tr.im/refreshaustinjobspolicy
>> > We do not accept job posts from recruiters.
>> >
>> > [ Unsubscribe ]
>> > To unsubscribe from this group, send email to
>> > [email protected]<refresh-austin%[email protected]>
>> >
>> > [ More Info ]
>> > For more options, visit this group at
>> > http://groups.google.com/group/Refresh-Austin
>> >
>>
>> --
>> Our Web site: http://www.RefreshAustin.org/
>>
>> You received this message because you are subscribed to the Google Groups
>> "Refresh Austin" group.
>>
>> [ Posting ]
>> To post to this group, send email to [email protected]
>> Job-related postings should follow http://tr.im/refreshaustinjobspolicy
>> We do not accept job posts from recruiters.
>>
>> [ Unsubscribe ]
>> To unsubscribe from this group, send email to
>> [email protected]<refresh-austin%[email protected]>
>>
>> [ More Info ]
>> For more options, visit this group at
>> http://groups.google.com/group/Refresh-Austin
>>
>
>  --
> Our Web site: http://www.RefreshAustin.org/
>
> You received this message because you are subscribed to the Google Groups
> "Refresh Austin" group.
>
> [ Posting ]
> To post to this group, send email to [email protected]
> Job-related postings should follow http://tr.im/refreshaustinjobspolicy
> We do not accept job posts from recruiters.
>
> [ Unsubscribe ]
> To unsubscribe from this group, send email to
> [email protected]<refresh-austin%[email protected]>
>
> [ More Info ]
> For more options, visit this group at
> http://groups.google.com/group/Refresh-Austin
>

-- 
Our Web site: http://www.RefreshAustin.org/

You received this message because you are subscribed to the Google Groups 
"Refresh Austin" group.

[ Posting ]
To post to this group, send email to [email protected]
Job-related postings should follow http://tr.im/refreshaustinjobspolicy
We do not accept job posts from recruiters.

[ Unsubscribe ]
To unsubscribe from this group, send email to 
[email protected]

[ More Info ]
For more options, visit this group at 
http://groups.google.com/group/Refresh-Austin

Reply via email to