I'm trying to copy some text files from a Windows Server 2008 to a shared folder that resides in AS/400. This is for a client of mine, I don´t know what they are using to share the folder nor know about their AS/400 release.
I can copy the files using the Windows command prompt (MS-DOS like) and using the File Explorer. I also tested with a .bat file to do the copy and it works well.
However if I try to do the copy from a simple Delphi application the file is not copied, even if I call the .bat file, the file is not copied. If I copy the file to a Windows folder (not AS/400), from the same application, the file is copied correctly in the local server or to a shared network folder.
How this AS/400 folder "knows" that I'm copyng the file from an application or what could be the problem?