Giter Club home page Giter Club logo

Comments (12)

G-Goldstein avatar G-Goldstein commented on May 27, 2024 4

I had the same symptom and in my case it was because the opened file was positioned to the end of the file. The storeFile method just performs read() to get the data, so it wasn't finding anything at the end of the file. I did a file_obj.seek(0) before writing and this fixed it.

from pysmb.

zrachlin avatar zrachlin commented on May 27, 2024 1

@G-Goldstein 6 years later, thank you so much for this! Saved me.

from pysmb.

miketeo avatar miketeo commented on May 27, 2024

@siznad : Can you provide more information about the remote server? What are the versions of the OS/Samba service that is working and is not working?

If you can, please provide the TCP packet capture of both working and non-working scenarios.

Thank you

from pysmb.

siznad avatar siznad commented on May 27, 2024

Hi Michael,

Thanks for the quick response. I don't have the details yet about the
remote servers. I can get that next week. But I did already take network
captures for both scenarios.

Attached are the working and non-working captures.

For the not working scenario use filter 'tcp.stream eq 0'

For working, use filter 'tcp.stream eq 110'

Thanks.

On 2014-10-25 13:44, Michael Teo wrote:

@siznad [1] : Can you provide more information about the remote server? What are the versions of the OS/Samba service that is working and is not working?

If you can, please provide the TCP packet capture of both working and non-working scenarios.

Thank you

Reply to this email directly or view it on GitHub [2].

Links:

[1] https://github.com/siznad
[2] #23 (comment)

from pysmb.

miketeo avatar miketeo commented on May 27, 2024

@siznad : I think the attachments are not available on github when you reply via email. Can you email me your packet captures directly at [email protected] ? Thanks

from pysmb.

siznad avatar siznad commented on May 27, 2024

Hi,
I sent you the captures to [email protected]. Just wanted to confirm you got them.
John

from pysmb.

miketeo avatar miketeo commented on May 27, 2024

Thank goodness you have probed me on this. Your packet capture has ended up in my spam box. I will look into this.

from pysmb.

miketeo avatar miketeo commented on May 27, 2024

@siznad : I was looking through your packet captures. The remote CIFS/SMB server for the non-working looks interesting; it seems to be a NAS. Can you provide more details on the remote server? Thank you.

from pysmb.

siznad avatar siznad commented on May 27, 2024

It is NAS. It's a SAN storage running NetApp.

from pysmb.

siznad avatar siznad commented on May 27, 2024

Hi Mike,

Any idea what the issue could be?

John

from pysmb.

miketeo avatar miketeo commented on May 27, 2024

@siznad: Unfortunately, I do not have access to a NetApp storage facility to troubleshoot. I'm tied down with my work for this month, and will look into this once my time loosen up.

from pysmb.

joselitosn avatar joselitosn commented on May 27, 2024

@miketeo @siznad Don't know if this is already solved, but using is_direct_tcp=True on the SMBConnection solved the problem for me. Also, you might wanna use port 445 instead of 139.

from pysmb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.