This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| &LH_LP=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifdef _WIN32 | |
| #include "inttypes.h" | |
| #else /* _WIN32 */ | |
| #include <inttypes.h> | |
| #endif /* _WIN32 */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ObexFTP 0.24.2 (released 2016-04-07) | |
| ------------------------------------ | |
| * obexfs: Parse XML data with Expat library | |
| * obexfs: Properly encode XML special characters | |
| * obexfs: New option -r to specify root path | |
| * obexfs: New option -S to simulate free space | |
| * Fix probing | |
| * Add support for Gigaset devices | |
| * CMake improvements |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| case 'h': | |
| printf("ObexFTP %s\n", VERSION); | |
| printf("Usage: %s [ -i " | |
| #ifdef HAVE_BLUETOOTH | |
| "| -b <dev> [-B <chan>] [-d <addr>]" | |
| #endif | |
| #ifdef HAVE_USB | |
| "| -u <intf> " | |
| #endif | |
| "| -t <dev> | -N <host> ]\n" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # - Find Open Object Exchange library | |
| # | |
| # It will use PkgConfig if present and supported, else search | |
| # it on its own. If the OPENOBEX_ROOT_DIR environment variable | |
| # is defined, it will be used as base path. | |
| # The following standard variables get defined: | |
| # OpenObex_FOUND: true if OpenObex was found | |
| # OpenObex_VERSION_STRING: the version of OpenObex, if any | |
| # OpenObex_INCLUDE_DIRS: the directory that contains the include file | |
| # OpenObex_LIBRARIES: full path to the libraries |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import hashlib | |
| import sha3 | |
| def beautify_hash(raw): | |
| buf = raw.encode('utf-8') | |
| buf = sha3.sha3_224(buf).hexdigest() | |
| return buf | |
| if __name__ == '__main__': | |
| prefix = "obexftp -v -i " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| obexftp -i -U IRMC -v -g "User Data/Java/34FE1CD6.JAR" | |
| obexftp -i -U IRMC -g "User Data/Photo/Image/icons8.PnG" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ObexFTP 0.24 | |
| ObexFTP 0.24 | |
| Usage: obexftp [ -i | -b <dev> [-B <chan>] | -U <intf> | -t <dev> | -N <host> ] | |
| [-c <dir> ...] [-C <dir> ] [-l [<dir>]] | |
| [-g <file> ...] [-p <files> ...] [-k <files> ...] [-x] [-m <src> <dest> ...] | |
| Transfer files from/to Mobile Equipment. | |
| Copyright (c) 2002-2004 Christian W. Zuckschwerdt | |
| -i, --irda connect using IrDA transport (default) | |
| -b, --bluetooth [<device>] use or search a bluetooth device |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!python3 | |
| import re | |
| import sys | |
| try: | |
| fn = sys.argv[1] | |
| except IndexError: | |
| fn = "MYOB Premier v7.msi" | |
| fp = open(fn, "rb") |