Try posting on http://stackoverflow.com/ ... I bet they'd help you figure it
out pretty quickly
You're going to want to use http://pastie.org/ to post your code though, so
folks can see exactly what it is you might be doing wrong.


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]

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

Reply via email to