XCOMN0302E Unable to open local input file: Invalid argument

Document ID : KB000040141
Last Modified Date : 31/12/2018
Show Technical Document Details
Introduction:

I initiated a Send File transfer from Windows to Unix and continue to receive message "XCOMN0302E Unable to open local input file: Invalid argument". What is causing the message? Here is the .cnf being used for the transfer:

REMOTE_SYSTEM=ipaddress
LOCAL_FILE="c:\temp\file.txt"

REMOTE_FILE="/tmp/unix_file.txt"
FILE_OPTION=REPLACE
USERID=userid
PASSWORD=password
QUEUE=NO
MAXRECLEN=1024
CODE_FLAG=ASCII
CARRIAGE_FLAG=YES

 

Additional Information:

The message can be received due to other factors. Please contact Support should you need assistance.

 

 

Background:
MS Windows Server, UNIX, Linux
Environment:
The message is the result of having double quotes for the value of LOCAL_FILE= and/or REMOTE_FILE. You must remove the double quotes and that will resolve the problem.
Instructions:
Please Update This Required Field
Additional Information:
This message can be received due to other factors. Please contact Support should you need assistance.