I have an issue transferring files between Unix(AIX) and Windows. I use the following mount command to mount a Windows folder on Unix.
mount -v cifs -n /admin/@dmin -o file_mode=775,dir_mode=775,uid=0,gid=0 /TEST/Finance
On my Windows machine, I pick up these files on this mount directory for processing. I use IBM Connect:Direct to transfer the files.
Issue is that when moving a file from the Windows Mount on Unix to the Windows server, the CR (Carriage Return) is missing in my file and only LF (Line feed) is present, meaning that when you open with a notepad, you can see all the text one a single line.
How do I keep both the CR and LF when transferring files from Unix to Windows?
Is there something wrong with my mount command?
cpcommand. But below, you said something about a file transfer application with text mode. That sounds like FTP, but in that case you wouldn’t need to mount the CIFS drive at all.