Subversion Repositories freemyipod

Rev

Rev 548 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 548 Rev 574
Line 235... Line 235...
235
        return addr, size
235
        return addr, size
236
    
236
    
237
    @command
237
    @command
238
    def downloadfile(self, addr, size, filename):
238
    def downloadfile(self, addr, size, filename):
239
        """
239
        """
240
            Uploads a file to the device
240
            Downloads a region of memory from the device to a file
241
            <offset>: the address to upload the file to
241
            <addr>: the address to download the data from
242
            <size>: the number of bytes to be read
242
            <size>: the number of bytes to be read
243
            <filename>: the path to the file
243
            <filename>: the path to the file
244
        """
244
        """
245
        addr = to_int(addr)
245
        addr = to_int(addr)
246
        size = to_int(size)
246
        size = to_int(size)