We are using ws_ftp for implementing SFTP solution in wM.
(to transfer files using ftp over ssh/ssl)
We could execute the command lines through stand alone java svc but we are facing as error “destination parsing error” while executing the same using a svc in wM.
command lines: cmd.exe /c E:/HRIS/wsftppro.exe -s local:E:/HRIS/From/FI.txt -d ftpRt:
ftpRt is the site name.
Could any one please let me know if you have the solution for this.
I believe we are missing out on some configurations at wM.
We could solve the problem now.
The problem is, when we create sites in ws_ftp pro, they get stored in the below file.
C:\Documents and Settings\xxxxx\Application Data\Ipswitch\WS_FTP\Sites\ws_ftp.ini
Here xxxxx is the user name you have logged in.
The problem is my sites are located under my user name say xxxxx, where as wM uses SYSTEM as the username when it runs the ws_ftp.
What we did is, we created a folder SYSTEM in C:\Documents and Settings and copied all the ApplicationData folder in it.
Now my java svc through wM also works.
Thinking that this is not an ideal solution, we investigated further and found that if ws_ftp.ini file is placed under the below path, sites created are shared to every user whoever logons to ws_ftp.
C:\Documents and Settings\AllUsers\Application Data\Ipswitch\WS_FTP\Sites\