Q
Problem solve Get help with specific problems with your technologies, process and projects.

Using the CPYTOPCD command to transfer files

We are using CPYTOPCD to send a file to shared folders. We then move the file to our "operator" PC, and open a command window. Next we run a "Dial-Up Networking" script to establish a connection to a server, and then we run a batch program on the PC to call a FTP script to transfer our file.

Could this be done from the iSeries using our ASCII port to establish the connection and then running FTP from the iSeries? We are basically doing an IP FTP transfer process, but because of security we need to establish a dial-up connection before sending the file.
Is there any reason why you don't want to let the PC user directly run the CPYTOPCD command to do the file transfer? The reason I am asking is because if there are no security reasons, this process can be streamlined so that the PC user can run the command and open the document on his PC -- without having to worry about FTP transfer process. This can be as easy as running the command and then going to the QDLS folder in navigator to access the document.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your programming questions--or help out your peers by answering them--in our live discussion forums.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.


This was last published in February 2004

Dig Deeper on iSeries CL programming

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

  • How do I size a UPS unit?

    Your data center UPS sizing needs are dependent on a variety of factors. Develop configurations and determine the estimated UPS ...

  • How to enhance FTP server security

    If you still use FTP servers in your organization, use IP address whitelists, login restrictions and data encryption -- and just ...

  • 3 ways to approach cloud bursting

    With different cloud bursting techniques and tools from Amazon, Zerto, VMware and Oracle, admins can bolster cloud connections ...

Close