Personal send info
This commit is contained in:
parent
d4df8f030c
commit
dd5b6f6f4b
2
Makefile
2
Makefile
|
@ -6,7 +6,7 @@
|
|||
SMOVER ?= 100
|
||||
BUILDVER ?= 101
|
||||
BUILDVERSTR ?= 1.0.1
|
||||
IP ?= 10.0.0.221 # ftp server ip (usually is switch's local IP)
|
||||
IP ?= 192.168.0.8 # ftp server ip (usually is switch's local IP)
|
||||
DEBUGLOG ?= 0 # defaults to disable debug logger
|
||||
SERVERIP ?= 0.0.0.0 # put debug logger server IP here
|
||||
ISEMU ?= 0 # set to 1 to compile for emulators
|
||||
|
|
|
@ -25,6 +25,7 @@ def listdirs(connection,_path):
|
|||
|
||||
|
||||
def ensuredirectory(connection,root,path):
|
||||
return
|
||||
print(f"Ensuring {os.path.join(root, path)} exists...")
|
||||
if path not in listdirs(connection, root):
|
||||
connection.mkd(f'{root}/{path}')
|
||||
|
@ -57,7 +58,7 @@ otherftp = FTP()
|
|||
print(f'Connecting to {consoleIP}... ', end='')
|
||||
ftp.connect(consoleIP, consolePort)
|
||||
print('logging into server...', end='')
|
||||
ftp.login('crafty','boss')
|
||||
ftp.login('amethyst','password')
|
||||
print('Connected!')
|
||||
|
||||
if isNeedOtherSwitch:
|
||||
|
|
Loading…
Reference in New Issue