![]() ![]() |
#1
|
|||
|
|||
![]()
Hi,
I'm looking for your suggestion and experiences, objective: to deliver contact to POM infinite campaign in scheduled manner. We would want to transfer a .txt file from windows system to Linux system (AAEP) At present using WinSCP library we have a sample .NET application which will transfer the file to Linux system. It looks there is no inbuilt Microsoft library(which use SSH connection) exists to move file to Linux system. The transfer of .txt file is scheduled job for every 15 minutes to put the file in Linux system and every 10 or 15 minutes read/get the files from Linux to windows system. Questions: 1. Is it better option to write the file transfer application in java? 2. Can we deploy this application in AAEP and expose web service api's so that windows applications can call api to read and write files. 3.Can we use the point-2 approach in production system? 4.If point-3 answer is 'NO' can we run the java application in windows system and achieve the file exchange operations? 5.or what is the best approach to transfer a files from windows system to linux system thru applications? 6.Can we socket server which runs in linux system and run the client in windows system which will send the file.? But still having suggestions can the AAEP system recommends to deploy custom application in production system.? Thanks and Regards Last edited by mamb; 10-24-2015 at 11:43 PM. |
#2
|
|||
|
|||
![]()
Don't re-invent the wheel, just run an HTTP daemon (like IIS) on the windows server to host the .txt file and setup a cron job on the Linux server to download the file every 15 minutes using wget. Or, if you don't have wget on the Linux server, run an SFTP daemon on the Windows server and use cron to do scp every 15 minutes.
|
![]() |
Tags |
aaep, file transfer, linux, pom, windows |
Thread Tools | Search this Thread |
Display Modes | |
|
|