How to FTP from AS400 to PC network Drive

50 pts.
Tags:
AS/400
FTP
Need examples to automate FTP to PC network drive. This needs to take place whenever the file changes. Your support is greatly appreciated. Thank you.

Answer Wiki

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

You didn’t specify what OS you were running, but if you are running Linux you could write a small cron job to run every 10 minutes or so using ‘diff’ to compare the two files and if a difference is found, send the file over.

You could also run rsync if it’s linux, however I’ve never used it so I can’t comment on it.

Discuss This Question: 1  Reply

 
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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    This needs to take place whenever the file changes. What kind of "file"? Database? Or streamfile? They'll be very different. Also, what will you be FTPing? The file that changed? Do you want to FTP it as changes are happening or after the changes are finished? How will you know it's finished? Do you have a FTP server running on the system that hosts the network drive? A FTP server needs to be running in order for a FTP session to be started. And of course, that PC will have to have a user ID that you can start the session under. Tom
    125,585 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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following