Page 10 of 10 FirstFirst ... 8910
Results 136 to 144 of 144

Thread: tyftpd (mfs_ftp.tcl alternative)

  1. #136
    Join Date
    Mar 2005
    Posts
    233
    spitfires,

    mfs_ftp_helper is not in the mfs-utils, it is part of the tyftpd package. The mfs_ftp_helper*.c files are created when the patch the is included included patch is applied to the mfs-utils source. You should see them created after you run this from the mfs-utils directory (assuming the tyfpd package was extacted one level up):

    Code:
     patch -p1 < ../tyftpd-20130113/mfs_ftp_helper.patch
    You can probably apply the patch against mfs-utils-20050604 with some slight modification. I used to compile it against the 32bit version and and 64 bit version separately, using the same patch.

    A quick look at the patch and it looks like you may only need to chage this area of the patch (Keep in mind untested, use at your own risk, etc.):

    1146:
    + int len=mfs_inode_run_length(&inode, run); //number of sectors left
    + u64 sec=mfs_inode_run_start(&inode, run); //sector to write to
    becomes:
    + int len=inode.u.runs[run].len; //number of sectors left
    + u64 sec=inode.u.runs[run].start; //sector to write to

  2. #137
    Join Date
    Mar 2005
    Posts
    233
    I just applied the patch to mfs-utils-20050604 and it fails to patch Makefile because of a changes. The easiest thing to do would manually edit your Makefile after applying the patch and make your BINS and COMMONS match this:

    Code:
    COMMON = mfs.c object.c util.c bitmap.c io.c partition.c \
    	crc.c pri.c export.c schema.c query.c tzoffset.c tar.c \
    	credits.c read_xml.c generate_xml.c generate_NowShowing.c attribute.c log.c  \
    	mfs_ftp_helper_list.c mfs_ftp_helper_retr.c mfs_ftp_helper_stor.c
    
    BINS = \
     mfs_info mfs_ls mfs_streams mfs_dumpobj mfs_dumpschema mfs_tzoffset \
     mfs_import mfs_uberexport mfs_burstcmds                \
     mfs_export mfs_stream mfs_tarstream mfs_tmfstream      \
     tserver vserver NowShowing mfs_ftp_helper ciphercheck  \
     vplay                                                  \
     mfs_dump mfs_poke                                      \
     mfs_bitmap mfs_purge mfs_getslice mfs_findzero
    That should get it compiling for you. Let us know the progress you make because others have expressed an interest.

    Tweaks may also be required in tyftpd.tcl as well, I'm not sure though it's been a while since I looked at.

  3. #138
    Join Date
    Dec 2006
    Posts
    54
    Quote Originally Posted by jkozee View Post
    The mfs_ftp_helper*.c files are created when the patch the is included included patch is applied to the mfs-utils source.
    So it does . Sorry about that, I must've had brain fade this morning. Thanks for the tips - I'll have a play and report back.

  4. #139
    Join Date
    Jul 2004
    Posts
    584

    pc videos

    Whats everybody using for converting avis,mpg to ty files???We needtivoserver intergraded with this to do on the fly converting.

  5. #140
    Join Date
    Mar 2005
    Posts
    116
    Jkozee,

    Recently I have started getting an error while transferring some old video from one TiVo to another. It seems to happen at the time it is trying to insert the show metadata and consequently, tyftpd just hangs after the error. I have to go in and kill tyftpd and restart it to recover. This is the error I am getting from the terminal as the error happens:

    error generating serial data from XML
    while executing
    "tvidl::xmltoserial {<TvBusEnvelope xs:type="TvNpkChannelDefinition"><channelNumber><major>265</major></channelNumber><strCallSign>A&E</strCallSign><id..."
    ("eval" body line 1)
    invoked from within
    "eval tvidl::$command $args"
    (procedure "tvidl" line 3)
    invoked from within
    "tvidl xmltoserial $xml"
    invoked from within
    "if {$stationfsid!=""} {
    set station [db $ServerData(db) openid $stationfsid]
    dbobj $showing set Station $station

    # NpkChannelDefin..."
    ("uplevel" body line 7)
    invoked from within
    "uplevel $body"
    invoked from within
    "transaction {uplevel $body}"
    (procedure "RetryTransaction" line 5)
    invoked from within
    "RetryTransaction {
    set rec [db $ServerData(db) openid $ClientData(recfsid)]
    set showing [dbobj $rec get Showing]
    dbobj $rec set State 3 ;#..."
    (procedure "UpdateMetadata" line 82)
    invoked from within
    "UpdateMetadata $client "" $data"
    (procedure "STOR" line 65)
    invoked from within
    "STOR $client"
    ("STOR" arm line 1)
    invoked from within
    "switch $ClientData(cmd) {
    USER {reply $client "331 Please specify the password."}
    PASS {reply $client "230 Login successful."}
    NOOP {reply..."
    (procedure "ProcessCommands" line 33)
    invoked from within
    "ProcessCommands sock16"
    Not really sure why it would error out. Any idea what could be causing it or do you need more debug information?

    Take care...

    Smee

  6. #141
    Join Date
    Dec 2004
    Posts
    793
    Quote Originally Posted by darrin75 View Post
    2. Your going to have to Open the tivo voiding you warranty.
    Please do me a favor and fix your tagline. It should be either:

    2. You're going to have to open the TiVo voiding your warranty.

    or else:

    2. You are going to have to open the TiVo voiding your warranty.
    Having trouble with TyTool? Try TyTool Documentation
    Need to hack an S3 / THD? Try S3 Hacking Script

  7. #142
    Join Date
    Jul 2004
    Posts
    584
    Well, what a reply:-) I will fix it or remove it. Seems my tagline is all there is to post about these days.

  8. #143
    Join Date
    Aug 2004
    Posts
    99
    Quote Originally Posted by Smee View Post
    Jkozee,

    Recently I have started getting an error while transferring some old video from one TiVo to another. It seems to happen at the time it is trying to insert the show metadata and consequently, tyftpd just hangs after the error. I have to go in and kill tyftpd and restart it to recover. This is the error I am getting from the terminal as the error happens:



    Not really sure why it would error out. Any idea what could be causing it or do you need more debug information?

    Take care...

    Smee
    The problem happens when you move files between systems that have different software versions. There is a fix for this in the mfs_ftp forum somewhere, but was not included in any patches. A similar fix can probably be made to tyftpd.

  9. #144
    Join Date
    Jul 2004
    Posts
    584
    What's the latest update

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •