Authority issue when using FTP scripts to transfer PDF files from AS/400 to remote system

15 pts.
Tags:
AS 400
FTP
PDF
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.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Unless this is a one time upload the easiest way is have someone with authority on the remote system create directory with the proper authority for their users. Then you just need to change the script to deposit your FTP uploads to it. IF this is a one time upload then have the security officer on the remote system change the authority on the folder so the users have access.

Discuss This Question: 8  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • TheRealRaven
    What type of system is "Remote System"?
    27,220 pointsBadges:
    report
  • Splat
    You're going to have to talk to those in charge of the remote system.
    12,600 pointsBadges:
    report
  • Rutushraba
    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?
    15 pointsBadges:
    report
  • Splat
    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.
    12,600 pointsBadges:
    report
  • pineapplepines
    @theRealRaven, The remote system is remote type
    20 pointsBadges:
    report
  • Apatheticnow
    All good opinions so far!
    925 pointsBadges:
    report
  • BigKat
    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.
    9,220 pointsBadges:
    report
  • ToddN2000
    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.
    110,205 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: