cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Doubt use of FTP output action

Former Member
0 Likes
508

Hi everybody.

Can somebody helpme

I'm using the FTP Output action to take a copy of a file and upload it to a user's remote machine, the remote machine could be variable, but when i run the BLS where is the action get the next error:

[ERROR] [FTP_Output_0]FTPPut: Error while putting file C:\Dumy_ReporteDiarioSAR\miiReporteDiarioSAR.html from folder D:\Aplicaciones en 400-2-M04-00068\MII\Inventarios TAR BW\Reporte, java.net.ConnectException: Connection refused: connect

where C:\Dumy_ReporteDiarioSAR\miiReporteDiarioSAR.html is the value for LocalFile property, D:\Aplicaciones en 400-2-M04-00068\MII\Inventarios TAR BW\Reporte is the value for RemoteFolder property

Just three propertys I filled in the link zone: LocalFile, RemoteFile, RemoteFolder.

I'm following the reference on how to use the FTP Output action is:

          File Input Output (FTP) Actions - xMII - SCN Wiki

My MII version is 12.2.4

Some ideas on how to solve it or what am i on wrong.

Thanks a lot in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

HI Fernando,

the error "Connection refused: connect" means that either you do not have the FTP Action block Object configured properly to point the server and port of the FTP server you are trying to connect to, or the FTP server is not running or not listening on the port you have specified in the configuration.

Regards, Steve

Former Member
0 Likes

Thanks for you answer.

I'm want to upload a file from MII server to one no server. Is it posible using FTP output action.

Best regards.

Former Member
0 Likes

HI Fernando,

From within MII you have these options to write a file to another server:

  • Write File Action: can create or append a file; only supports Text data.
  • Image Saver Action: can create or overwrite a binary file, the data to be saved must be base64 encoded text.
  • FTP Output Action: sends file to an FTP Server.

With the Write File And Image Saver actions, you may need to configure security on the remote system such that the named user that executes the MII Java instance has permissions to create files on that system. With FTP, you must deploy and execute an FTP server to receive the file.

Regards, Steve

Answers (0)