Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: Accessing files on a Windows server from *NIX via SMB

by Ven'Tatsu (Deacon)
on Aug 22, 2005 at 22:11 UTC ( #485782=note: print w/replies, xml ) Need Help??


in reply to Re^3: Accessing files on a Windows server from *NIX via SMB
in thread Accessing files on a Windows server from *NIX via SMB

I read the OP as saying there are 3 computers involved. An XP file server, the users laptop, and a Solaris box. The current state is that a user must access the XP box with their laptop to FTP the file to the Solaris box. I belive the OP wants the Solaris box to pull the CSV file from the XP box via SMB. (I would assume the XP box does not have a FTP service running.)

My only experiance using Samba is either sharing files from Linux or using smbmount (or mount with an appropriate -t setting) to access windows files. smbmount //host/share /mount/point has worked for me, but it prompts for username and password if needed. There should be command line options to set those if needed.

Replies are listed 'Best First'.
Re^5: Accessing files on a Windows server from *NIX via SMB
by radiantmatrix (Parson) on Aug 23, 2005 at 13:34 UTC

    Hm, yes I understand that. It seems that the OP wants to reduce it to two machines: the Solaris machine and the XP server. The original question involves replacing an FTP send from XP->Solaris to a SMB pull from Solaris->XP.

    What I don't understand is why that is the required solution. If the Perl script runs on XP instead of Solaris, then the CSV file is already available, and FTP can be used to obtain the dir listing. No notebook required, no file transfer.

    If, for some reason, I'm still missing something, the smbmount DOES have login options: smbmount //host/share /mnt/point -o username=user,password=pass

    <-radiant.matrix->
    Larry Wall is Yoda: there is no try{} (ok, except in Perl6; way to ruin a joke, Larry! ;P)
    The Code that can be seen is not the true Code
    "In any sufficiently large group of people, most are idiots" - Kaa's Law

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2022-08-15 05:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?