Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote file md5sum #29

Closed
rajraj opened this issue Feb 21, 2017 · 2 comments
Closed

Remote file md5sum #29

rajraj opened this issue Feb 21, 2017 · 2 comments

Comments

@rajraj
Copy link

rajraj commented Feb 21, 2017

Hi, Thanks for the gem. I have a quick question. Is there any way we can get the md5sum of a remote file?

If you are unable to add this feature, I am happy to do it but need some help to get started though.

@johnae
Copy link
Owner

johnae commented Feb 22, 2017

Well, you need to fetch the data from remote and run md5sum on it - I suspect you might not want this because you may be looking for a way to determine if a file has changed and only if it has fetch it.

So then you would need some way to ask the remote to run some md5sum on the file... I'm not aware of anything like that in samba but theoretically it might exist - there's no real technical obstacle to it that I can think of.

@rajraj
Copy link
Author

rajraj commented Feb 23, 2017

Hi @johnae thanks for the reply. I will look into it to see if I can do anything. Looks like smbclient doesn't have a command for the md5sum though.

@johnae johnae closed this as completed Jul 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants