collecting data from the usb/serial

Hi everyone, I am new to developing code in arduino. I am developing a solution that I monitor the data generated in a machine that generates a file through the USB port. the machine recognizes any USB drive and insert a data file into the pendrive. dare the arduino is possible to have a similar behavior so I can stick through the arduino collect the data file?

I monitor the data generated in a machine that generates a file through the USB port.

It would be nice to know what that machine was.

the machine recognizes any USB drive and insert a data file into the pendrive.

That is only possible if the device inserted identifies itself appropriately. The Arduino will not say "Hey, I'm an external storage device" to the PC.

dare the arduino is possible to have a similar behavior so I can stick through the arduino collect the data file?

Where is the Arduino to store the data file? How much data? Is the Arduino going to do anything with the data?

It would be nice to know what that machine was.

the machine in question is an injection mold!!

PaulS:

I monitor the data generated in a machine that generates a file through the USB port.

It would be nice to know what that machine was.

the machine recognizes any USB drive and insert a data file into the pendrive.

That is only possible if the device inserted identifies itself appropriately. The Arduino will not say "Hey, I'm an external storage device" to the PC.

dare the arduino is possible to have a similar behavior so I can stick through the arduino collect the data file?

Where is the Arduino to store the data file? How much data? Is the Arduino going to do anything with the data?

It would be nice to know what that machine was.

the machine in question is an injection mold!!

I was thinking more in terms of a link to the hardware, on the manufacturer's site rather than a vendor's site.

4 questions, one answer, is generally not a good ratio.