Your best friend for file transfer.

Fetch application logoFetch

MDTM and .shtml Files? (5 posts)

This is an archived topic. The information in it is likely to be out-of-date and no longer applicable to current versions of Fetch.
  • Started 22 years ago by morbus
  • Latest reply 21 years ago from morbus
  • morbus Member

    I'm using the beta version of 4.02 (which fixes the -31xx bug I was seeing on a mirror - great!) and I'm having some issues with mirroring.

    I'm doing a remote-to-local mirror. My server does support the MDTM command, as per this output:

    MDTM contact.shtml
    213 20020404023037
    MDTM contact.txt
    213 20011218150829
    MDTM index.shtml
    213 20020404022933
    MDTM writer_info.shtml
    213 20020209030005

    As such, those files are not mirrored. However, today being the 17th of April, the following files *are* mirrored, even though they shouldn't be:

    MDTM d20_questions_with_eden_studios.shtml
    213 20020414152407
    SIZE d20_questions_with_eden_studios.shtml
    550 d20_questions_with_eden_studios.shtml: Permission denied
    MDTM d20_questions_with_eden_studios.shtml
    213 20020414152407
    PORT 63,173,138,131,141,54
    200 PORT command successful.
    RETR d20_questions_with_eden_studios.shtml
    150 Opening BINARY mode data connection for d20_questions_with_eden_studios.shtml (20451 bytes).
    226 Transfer complete.
    Download completed at 4/17/02 12:30:00 AM (state == RGET_RETRIEVING)
    MDTM d20_questions_with_maggie_vining.shtml
    213 20020414152408
    SIZE d20_questions_with_maggie_vining.shtml
    550 d20_questions_with_maggie_vining.shtml: Permission denied
    MDTM d20_questions_with_maggie_vining.shtml
    213 20020414152408
    PORT 63,173,138,131,6,215
    200 PORT command successful.
    RETR d20_questions_with_maggie_vining.shtml
    150 Opening BINARY mode data connection for d20_questions_with_maggie_vining.shtml (21779 bytes).
    226 Transfer complete.
    Download completed at 4/17/02 12:30:03 AM (state == RGET_RETRIEVING)

    I've got 200 files that are like the above - they're mirrored, but they shouldn't be (doesn't the MDTM show the 14th of April above?). Oh, and yes, I do want .shtml files sent over in BINARY format, mainly because the linefeed encoding is important - I don't want them autotranslated into Mac linefeeds (which happens if I bring them over in ASCII).

    So, any ideas on this?

    [This message has been edited by morbus (edited 04-17-2002).]

    Posted 22 years ago #

  • Jim Matthews Administrator

    So mirroring those files brought them down even though there were files with that name on your Mac already?

    My guess is that this is a bug in Fetch's handling of files with names longer than 31 characters. Fetch 4.0.2 will be the first release to handle long names, but it looks like the mirroring code isn't quite right. Thank you very much for bringing this to my attention -- I will try to fix it for the official release of 4.0.2.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 22 years ago #

  • morbus Member

    So mirroring those files brought them down even though there were files with that name on your Mac already?

    Exactly. I normally do a daily mirror, and then once that's finished, another mirror right afterward's just for paranoia's sake ;) ...

    My guess is that this is a bug in Fetch's handling of files with names longer than 31 characters. Fetch 4.0.2 will be the first release to handle long names, but it looks like the mirroring code isn't quite right. Thank you very much for bringing this to my attention -- I will try to fix it for the official release of 4.0.2.

    Now that I think about it, that makes absolutely perfect sense. I'm not in front of my OS X box right now, but I'll confirm this for you later tonight.

    Posted 22 years ago #

  • morbus Member

    Confirmed:

    MDTM some_ideas_for_starting_that_new_campaign.shtml
    213 20020414152416
    SIZE some_ideas_for_starting_that_new_campaign.shtml
    550 some_ideas_for_starting_that_new_campaign.shtml: Permission denied
    MDTM some_ideas_for_starting_that_new_campaign.shtml
    213 20020414152416
    PORT 63,173,138,152,86,58
    200 PORT command successful.
    RETR some_ideas_for_starting_that_new_campaign.shtml
    150 Opening BINARY mode data connection for some_ideas_for_starting_that_new_campaign.shtml (15059 bytes).
    226 Transfer complete.
    Download completed at 4/18/02 12:18:20 AM (state == RGET_RETRIEVING)
    MDTM the_art_of_the_ic_romance.shtml
    213 20020414152402
    MDTM the_great_divide.shtml
    213 20020414152408
    MDTM the_greatest_american_hero.shtml
    213 20020414152423
    SIZE the_greatest_american_hero.shtml
    550 the_greatest_american_hero.shtml: Permission denied
    MDTM the_greatest_american_hero.shtml
    213 20020414152423
    PORT 63,173,138,152,31,189
    200 PORT command successful.
    RETR the_greatest_american_hero.shtml
    150 Opening BINARY mode data connection for the_greatest_american_hero.shtml (17859 bytes).

    Posted 22 years ago #

  • morbus Member

    Confirmed fixed in 4.02. Awesome! Thanks!

    Posted 21 years ago #

Topic closed

This topic has been closed.