Running a script

755 pts.
AS/400 administration
I have a compliance requirement to convert all FTP jobs to SFTP. However SFTP does not work on Windows 2008 server the same way it works in Unix or AS400. In windows 2008 server, when you send a file via SFTP, it can only place it on local hard drive of that server. Currently, our production 'XYZ' server, has all its documents in an external ABC storage server. SFTP cannot place files there. It needs to place it locally on server local disk. One solution is to have a script run that would move the file from the local hard drive to the appropriate folder. We have many many folders we need to move Could we create a “listener” batch job or something similar, that is always running on the Windows 2008 server and identifies the file received via SFTP and moves it to the appropriate folder

Software/Hardware used:

Answer Wiki

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

Hi Ravula, I would recommend that you take a look at the GoAnywhere solution that Charlie mentioned. GoAnywhere Services is an SFTP server that can run on any version of Windows, all flavors of Linux/Unix and also installs and runs perfectly on an IBM i system.

When a user uploads a file via SFTP, it can go to the local file system or you can have it go to a network storage location. That means you wouldn’t need any scripts or additional processes as it would upload/download directly from the network storage (no matter what platform you are installed on). For example, the file path could be local to the system, UNC path, NFS mounts or SMB/CIFS network shares.

Our other main product, GoAnywhere Director, is an enterprise solution for moving and securing files in your network. You can think of it like an enterprise service bus (ESB) for file and data movement. It also has an SFTP client built-in to initiate transfers if you need to.

Linoma has helped a ton of customers in similar situations to yours in order to get into compliance. Based on what you are looking to do, I definitely recommend trying it out at

Discuss This Question: 5  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.
  • CharlieBrowne
    Have you considered purchasing a software package that could do all this for you? I finally wnet to Linoma Software and purchased GoAnywhere. The product does everything for me and the support is the best I have ever had in my 42 years in IT.
    62,385 pointsBadges:
  • ravula
    Hi charlie , can we acheive our requirement with out using the above software you mentioned .can we create any batch program or script for it.
    755 pointsBadges:
  • CharlieBrowne
    I would guess you can, but I do not have that expertise.The reason I put in my other comments is because I was also battleing with PCI compliance issues. This software took all those hassles away. I did not have to "reinvent the wheel". Plus as new options & requirements were identified, they were one step ahead and I could continue to work on new development and not have to worry about going back and modifiying existing code. We are passing data to multiple servers both in-house and out. Listerner programs are part of the product.
    62,385 pointsBadges:
  • TomLiotta
    It's possible to do it yourself if you have sufficient knowledge and experience. If it was easy, then there wouldn't be a market for products. Those who have good knowledge on how to do it will resist posting instructions. If they teach everyone how to do it, no one will buy the products. -- Tom
    125,585 pointsBadges:
  • chalenger
    Dears,I rcommend to download FileZilla to use SFTP port990...Hassan
    620 pointsBadges:

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.


Share this item with your network: