|
Sendfile Checksums And Options
|
Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Flannel
USA (1,230 posts) bio
|
| Date |
Thu 17 Apr 2003 11:29 PM (UTC) [ quote
] 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 (18,770 posts) bio
Forum Administrator |
| Date |
Reply #1 on Fri 18 Apr 2003 12:04 AM (UTC) [ quote
] |
| 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) [ quote
] |
| 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) [ quote
] |
| 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) [ quote
] |
| 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) [ quote
] |
| 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 (18,770 posts) bio
Forum Administrator |
| Date |
Reply #6 on Sun 20 Apr 2003 02:44 AM (UTC) [ quote
] |
| 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) [ quote
] |
| 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) [ quote
] |
| 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 (18,770 posts) bio
Forum Administrator |
| Date |
Reply #9 on Sun 20 Apr 2003 10:16 PM (UTC) [ quote
] |
| 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.
2,589 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )