Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Suggestions ➜ Sendfile Checksums And Options

Sendfile Checksums And Options

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Flannel   USA  (1,230 posts)  Bio
Date Thu 17 Apr 2003 11:29 PM (UTC)

Amended on Thu 17 Apr 2003 11:37 PM (UTC) by Flannel

Message
Nick, From what I can tell (Im connected to myself, and it gets confusing occassionally) the Checksum is only sent to the recipient. Is there any reasonable way to get the checksum sent to the sender as well? If not, its no big deal... I might be wrong about this whole thing anyway. Im still not completely comfortable with the Chat protocol/commands yet.

Also, Maybe something (although, It'd be sorta wierd and awkward) can be worked out with Auto-accept for files to(with the 'install to' path)...
(All these autoaccept things are my delusions of grandeur about completely automating a remote computer, sort of an overkill proxy) This way, can send/Install script files/plugins/etc... without having to just send a lot of #command Addtrigger type things.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Fri 18 Apr 2003 12:04 AM (UTC)
Message
You are right - the checksum is sent to the recipient, not the sender. I'm not sure what the sender would do with except nod sagely.

I'm a bit reluctant to have "auto-save" file names, they would be a big security hole if someone managed to change it to (say) windows\system and then send you a system DLL.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Dave   Australia  (93 posts)  Bio
Date Reply #2 on Fri 18 Apr 2003 03:45 AM (UTC)
Message
So remove all occurances of /, \, and .. from filenames?
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #3 on Fri 18 Apr 2003 06:04 AM (UTC)
Message
Actually, For sending along scripts/plugins/etc its all text. So, In theory, It can be done by making it into a big long textstream, and using an unused channel, and then the recieving client could just put the pieces back together.

That could just be a plugin of its own though, no reason to add it to Mushclient.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Vaejor   (120 posts)  Bio
Date Reply #4 on Fri 18 Apr 2003 06:11 AM (UTC)
Message
I noticed the lack of sender getting the checksums as well. It is basically used to verify the file was sent accurately, which is as important for the sender as it is the reciever to know.
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #5 on Fri 18 Apr 2003 06:33 AM (UTC)
Message
Especially if the Sender doesnt know a lot about what theyre doing. You could be there for 10 minutes trying to get them to tell you if the checksums were the same (after explaining to them what they were looking for, etc)

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #6 on Sun 20 Apr 2003 02:44 AM (UTC)
Message
I don't understand how the checksum helps the sender, unless you mean that both get sent to either end? That might help.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Vaejor   (120 posts)  Bio
Date Reply #7 on Sun 20 Apr 2003 09:04 PM (UTC)
Message
Nod, mainly I just meant sending (outputting) the checksum information to both sides. This just tells the sender that everything has gone fine and that the file they thought they sent was sent correctly.

If I was sending a file and had this information, I wouldn't feel the need to get the remote side to review the file before really being sure it was sent correctly.

That whole warm fuzzy feeling would more quickly ensue.
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #8 on Sun 20 Apr 2003 09:36 PM (UTC)
Message
Yes Nick, I had meant that both checksums were sent to either end. So that the sender, and reciever could see them, and do the visual check to make sure no problems happened.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #9 on Sun 20 Apr 2003 10:16 PM (UTC)
Message
OK, I will do that, and have already added the "auto-save" to a nominated directory, if you are keen to have files pop in there automatically.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


25,419 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.