Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://795701]
help
Chatterbox?
erix .oO( that sounds Boyer-Mooreish )
[Corion]: erix: Yes, but that's mostly for skipping characters you'll never read, but this approach skips the problem of needing to load more data while looking at a half-match
[Corion]: I mostly wonder how I can add this "reversal" to my toolchest, and if it's worth it or just clever

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (14)
As of 2016-12-06 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (108 votes). Check out past polls.