I'm trying to copy a file to my PC. Here are the values that I'm using:
 From file  . . . . . . . . . . . > QPJOBLOG                      
   Library  . . . . . . . . . . . >   SPLFACTORY  
 To folder  . . . . . . . . . . . > SPLFACTORY                        
 From member  . . . . . . . . . .                
 To document  . . . . . . . . . .                

 Replace document . . . . . . . .                
 Translate table  . . . . . . . .   *DFT          

   Library  . . . . . . . . . . .                
 Format of PC data  . . . . . . .   *TEXT


I'm getting        Folder name not correct.
I do have a folder called SPLFACTORY under C:/ on my PC.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

The CPYTOPCD command doesn't copy the document to a folder on your local PC. What the command does is copy a file into a PC format document in a folder under QDLS on the AS400.

The command DSPFLR will allow you to look and see what folders are already in existence on your AS400. Specify one of these folders that you have enough authority to and the command will work. To get the document onto your PC using this method, the folder needs to be shared, and you can then either map a drive to it or type the UNC path to it into Windows Explorer.

It is probably simpler however to use the Actions > Receive File From Host option on Client Access to copy the document straight to your local PC.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Hello muhammasif,

The best way to do is thru Operation navigator.
Thats the easy to do way in windows style.



If you want to automate the download and you are OK with using the Client Access file transfer utility you can issue two CL commands from the AS/400 to automatically run the transfer :

2. STRPCCMD PCCMD('C:\Data\Transfer.dtf') PAUSE(*NO)

The first is the "Start PC Oragniser" command and the second is the "Run PC Command" command.

Remember to Set up the transfer to start automaticaly and to close down automatically, this is done from File>Properties>Startup Tab. You can also specify a username ans password under the connection tab but remember this could be a security risk.

Hope this helps

You can use Client Access 400.

Try to use

1 "C:\Program Files\IBM\Client Access\cwbtf.exe"  /t or
2 "C:\Program Files\IBM\Client Access\rtopcb.exe" in DOS  

but you must have the TTO files. You can get if you use choise no:1. Save as Filename.tto
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IBM System i

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.