I think we should first clear a few basic things, solutions should then be obvious:
1) When Windows says it is doing "TCP/IP" this is a half-lie: in fact it is using TCP/IP to transport NetBIOS packets (and NetBIOS-protocols) around. In fact, when you want to talk to a Windows system you need to be able to talk NetBIOS.
2) The file transfer protocol native to the TCP/IP stack is - who'd have guessed the name - FTP. This isn't used to day any more but its securified successors (SFTP, SCP, ...) are. Alas, Windows doesn't speak any of these out of the box, because - see above - it doesn't really understand TCP/IP.
3) The alternative to file transfer is file sharing - basically the possibiity to mount part of a certain systems file(-system)s at a remote system. The TCP/IPs standard protocol for this is NFS. Again, Windows won't (out of the box) understand it, because NetBIOS has a different file sharing protocol: SMB (and its successor CIFS).
Solutions:
A) Use a file transfer solution: you will need scp on one system and a running sshd on the other. You won't need passwords because you can exchange keys and establish trust between two host/user combinations. This should be relatively easy to do because most modern AIX systems run sshd anyway. You can check with
if it is active or not. The transfer can (on either side) be scripted with relatively little effort to automate it.
B) If you want to use a file sharing solution you need to make the systems understand each others languages. If you can install software on the AIX side you need SAMBA or something such to make AIX understand SMB/CIFS. Then you can mount Windows shares as part of the UNIX filesystem and by moving/copying files you can transfer them to the Windows side.
If you only can install software on the Windows side you need to get some NFS client software (i have no idea which one that could be, but there is sure something available). Then you need to switch on NFS services on the AIX (if not already running), check with
Notice that NFS exists in different versions and both V3 and V4 are common today. You need to define a so-called "export" (if unsure how to do it, do it with smitty nfs): a part of the AIX filesystem which can then be mounted from the Windows side.
I hope this helps.
bakunin
These 2 Users Gave Thanks to bakunin For This Post:
Location: on the road for work; home is private time
Posts: 456
Thanks Given: 10
Thanked 108 Times in 100 Posts
I am very much an AIX person - my iisues are that I an not a CIFS person, even though I have, over the years dealt with all these issues.
IMHO: from UNIX NFS is usually the most straightforward method of file transfer for general purpose.
If it is just one file that needs to move from AIX to XXX then I would look at something much simpler than NFS/CIFS (or any filesystem based transfer mechanism). Instead I would look at scp (secure and readily available) and/or rsync - aka think "file" transfer programs.
Hope this helps!
Michael
Ah - bakunin - I see there are two pages of posts and you already said above. Take this as an additional "like" for your previous post
Last edited by MichaelFelt; 07-23-2017 at 04:53 AM..
Reason: Too late, as usual - bakunin was here!
Hello.
I use this command :
rsync -av --include=".*" --dry-run "$A_FULL_PATH_S" "$A_FULL_PATH_D"The data comes from the output of a find command.
And no full source directories are in use, only some files.
Source example... (2 Replies)
I am trying to use mv or cp rsync to copy folders to a samba share. I can manually copy the folders to the share, but can not seem to access it using command line. Thank you :).
smbclient //path/to/cifs/share <password> -W <domain> -u <user>
WARNING: The "syslog" option is deprecated... (2 Replies)
Hi guys
I have some Windows Shares and I need to mount those shares on my Suse 10 SP3
I would like to know how to mount those?
do I need to enable Samba? or is it just a simple mount command?
thanks a lot (2 Replies)
First of all, let me state that I am a windows admin.
I have a windows share mounted to /mnt/server
I need a script that will either login as sudo or perform commands with sudo rights. I need the script to copy all of the users /home folders to the mounted windows share. Now If I can... (7 Replies)
Hello,
My network environment is:
The server is Linux, all the clients are win2000 professional,
the PC names are(ws00201, ws00202,ws00203,ws00204,ws00205,ws00206,ws00207,ws00208,ws00209),
I have 3 printers connected through USB to ws00201, ws00204,ws00207,
I want ws00201,ws00202,ws00203... (1 Reply)
I have a windows 2003 server with services for unix installed I have create a folder c:\nfsshare and set it as an nfs share named nfsshare. now I am trying to mount it from my aix system using
mount <server ip>:/nfsshare /mnt
the filesystem mounts , but I cannot change into /mnt, I get a... (4 Replies)
i m using Linux Mint on my computer and i m the server of shared Internet connection with windows machines. Internet sharing is working well with all the machines but file sharing is not working well. I can access the shared folders of other system with windows machine the windows machines cannot... (1 Reply)
dear all,
i want to copy all files in my home dir to another.
from my home dir i have given ls -la then
some hidden files are there with dot . .. and i also want to copy all dirs in my home as it is . because iam upgrading the system
how to copy all files and dirs in my home dir... (1 Reply)