Lee R Liddick Jr
asked on
Copy file from UNIX to WINDOWS shared folder
I need to create a script in UNIX that will copy a file from a UNIX directory to a WINDOWS shared folder.
The file myFile.txt is located in /unixServer/fileout/ and I need this file to be copied to a WINDOWS server /winServer/filein/.
Not sure where to start to create this script file for UNIX in order to do this.
The file myFile.txt is located in /unixServer/fileout/ and I need this file to be copied to a WINDOWS server /winServer/filein/.
Not sure where to start to create this script file for UNIX in order to do this.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you kindly provide information on what options you have available.
This suggests that samba is not setup such that the unix system can access directly a windows share.
Alternatively
Try from the windows side:
copy \\unixserver\fileout\myfil e.txt c:\
This suggests that samba is not setup such that the unix system can access directly a windows share.
Alternatively
Try from the windows side:
copy \\unixserver\fileout\myfil
ASKER
I found out it was a permissions problem...I'm splitting the points for your time to respond. Thank you both.
ASKER