hey …
i’m copying files from a smb directory using smbget …
that’s working just fine …
but is there a way to simply read the directory’s content …
something like …
dir smb://192.168.0.11/F/
thanks for help
hey …
i’m copying files from a smb directory using smbget …
that’s working just fine …
but is there a way to simply read the directory’s content …
something like …
dir smb://192.168.0.11/F/
thanks for help
thanks for your quick reply …
it appears to be working … however. … it gives me a NT_STATUS_BAD_NETWORK_NAME error after asking for a password …
i don’t really know which password to choose since i can connect to it without being prompted for a password when i copy using smbget …
Then you should probably try adding -N to the command to indicate that the service does not require a password.
i did
smbclient //192.168.0.11/F -N -c dir
Domain=[US-SQLRUNNER-1] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
this is what he returned
Bad network name means a wrong share name I think, not a bad password. (Though you may still need -N.) What happens if you leave out the F? (You then have to do a -c ‘cd F; dir’.)
Anyway try logging in with smbclient and typing in the commands interactively.
same problem