Hi,
I'm using FTP scripts to transfer PDF files from AS/400 system to Remote System.
I'm creating a new directory in remote system using MKDIR command and then doing the data transfer as below.
LCD /LOCAL/PDF
MKDIR /REMOTE/PDF1
CD /REMOTE/PDF1
PUT FILE1.PDF FILE1.PDF
But the Remote System Users are not able to open /REMOTE/PDF1 folder due to authority issues.
How to avoid this?
Thanks.
The remote system is also as AS/400 System. Is there any possibility of giving access to all the users while creating the directory in the remote system?
Giving authority to everyone isn't really advised. You'd be best off having the necessary authorities granted to the profile the FTP logs in to the remote system with.
I don't have access to a system to test this out right now, but you might be able to run remote commands to change the object's and directory's authorities.
If you have authority to the RUNRMTCMD, try that. It's the command BigKat mentioned. Depending on the profile you are using to connect it might work for you. If not see if there is another profile available.
Discuss This Question: 8  Replies