samurai007 wrote:I would like to know if this is possible using a JCL job ??
I doubt it. FTP is a standard Internet-based protocol for data exchange between a client and a server:FILE TRANSFER PROTOCOL
In FTP, the client is the side that initiates the connection, and the server authenticates the user and provides the means for the exchange of data. In your case, the mainframe will have to be the client. That means that you need an FTP server to be active on your desktop. Unless your desktop is running some version of a Windows Server O/S, I doubt that you have that service available. Also, I doubt that your desktop has either a static TCP/IP address or a domain name, so just the act of connecting to it via TCP/IP might not be possible. You may also have firewalls and other security issues to address.
Also, most shops will not allow users to even invoke the FTP program without proper RACF or ACF/2 authority.
I'd suggest that you talk to your data transfer, desktop, and/or network engineers and solicit them for a solution. My guess is that they'd rather have you use Secure FTP to a standard corporate FTP server, and then map it as a network drive to your desktop and access your files accordingly.
As an alternative, you can look into the possibility of using the ISPF File Transfer (Option 3.7) Service. You'll need to install and configure the agent (the ISPF Client/Server workstation agent) on your desktop. Once installed and active, you can use ISPF Services to transfer data.