Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Trying to move files from Linux to Windows using smbclient

by pmonk4ever (Friar)
on Sep 16, 2009 at 19:51 UTC ( #795701=note: print w/ replies, xml ) Need Help??


in reply to Trying to move files from Linux to Windows using smbclient

Hmmmm,

How about trying to add use diagnostics; to your script and see if you get more descriptive text for the error. The message you currently get is very generic in nature, not much help.

pmonk4ever

"No trees were harmed in the creation of this node. However, a rather large number of electrons were somewhat inconvenienced."

Update: In the description on CPAN: SmbClientParser work with output of bin smbclient, so it doesn't work on win platform. (but query of win platform work of course)

Also, there is a Debug option in the module: Debug1 That might help.

Last but not least, look on the ActiveState site for Alian's ToDo: "Write a wrapper for ActiveState release on win32"

Good hunting!


Comment on Re: Trying to move files from Linux to Windows using smbclient
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://795701]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2014-09-17 21:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (99 votes), past polls