Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Python SMB Connection
-
@cvp said:
Obviously, the smb module in Pythonista is old and is not identical as on your Radpberry.
it looks so but it sucks.... :(
-
@DavinE smb is not a standard module of Pythonista, in site-packages, thus you could try to install there the same as on your Raspberry.
-
@cvp
smb is in the module of pysmb or ?
on my iPad an my Pi the version is the same.... 1.2.6
and i installed both withpip install pysmb
-
-
I have the same problem on another WD NAS....
-
-
-
-
-
@DavinE I normally access this NAS via FTP but I just tested it with your script and I meet the same connection error.
-
-
-
@DavinE FTP is ok and SFTP (SSH) also
-
But my old WD NAS does not support SFTP...
-
from ftplib import FTP import paramiko
ftplib for FTP
paramiko for SFTP -
@cvp said:
from ftplib import FTP import paramiko
ftplib for FTP
paramiko for SFTPI know I'm annoying you a lot, but would you have a script like with SMB?
-
-
@DavinE upload or download?
-
-
@DavinE try first this
from ftplib import FTP ip = '192.168.0.47' user = 'admin' pwd = 'xxxxxxx'' ftp = FTP(ip) #connect ftp.encoding = 'utf-8' ftp.login(user,pwd) ftp.retrlines('NLST *') ftp.quit()