Jose Lorea (iSoftland) asked a question.

Trying to retrieve the file ID of an uploaded file in an automation task.

The step uploads a file to a Moveit Transfer Server and the log file shows the new file ID

 

Task "UPLOADING TASK": Uploaded 'sample/user/Log_05092024010050' on 'MoveITTransfer' into /BAA/Repository/abcdefg (folder 193381605) on 192.168.0.118: new file ID is 193706507; 89.5% compression; server checked hash OK

 

Is there a way to retrieve the ID of the new file in order to use it in the next step?

The MIMacro("[ID]") gets the current processed file ID but not the uploaded.

 

Thanks

 


  • John Curtiss (i hate the web admin)

    doesn't the "ID" macro only populate when _downloading_ files from a moveit transfer source server?

     

    if you want to do something with a destination file right after you upload it, can you just call

     

    [destfolderpath]/[destfilename] (or the slash in the other direction)