Skip Menu |

This queue is for tickets about the Filesys-SmbClientParser CPAN distribution.

Report information
The Basics
Id: 7842
Status: new
Priority: 0/
Queue: Filesys-SmbClientParser

People
Owner: Nobody in particular
Requestors: rafuzo [...] spamcop.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.7
Fixed in: (no value)



Subject: cd command does not remember cwd
The 'cd' command does not remember current working directory, and as such it's impossible to issue successive cd commands; one must know the pathname at the outset. i.e., if one wanted to cd to directory /a/b/c/d on a remote SMB share, the following will fail: my $smb = new Filesys::SmbClientParser("/usr/bin/smbclient",(user => 'user', password => 'pass')); $smb->Host('remotehost'); $smb->Share('remoteshare'); $smb->cd("a"); $smb->cd("b"); $smb->cd("c"); and rather, one must use: my $smb = new Filesys::SmbClientParser("/usr/bin/smbclient",(user => 'user', password => 'pass')); $smb->Host('remotehost'); $smb->Share('remoteshare'); $smb->cd("a\b\c"); If this behavior is by design, it is unclear from the documentation.
From: john_sullivan [...] med.harvard.edu
I also have this problem. Any hope for a fix?