You have a batch file that has to push a folder of PDFs to another machine over a serial cable, and you need to know afterwards whether it worked. Most serial transfer programs want you to sit and click through them. RS232Xfer is a command line serial file transfer utility for Windows, built so a script can run it and check the result.
Quick facts
- Type: command line utility (RS232Xfer.exe)
- Protocols: Xmodem, Ymodem, Zmodem
- Platforms: Windows 7, Vista, XP, 2003, 2000, NT
- Price: $29.95
Key features
Send whole sets of files with one command
You give it a baud rate, a protocol, a COM port and a file mask. For example, RS232Xfer -b9600 -eZMODEM COM1 SEND c:\Upload\*.pdf sends every PDF in the Upload folder over COM1 using ZMODEM.
Get a success or failure code back to your script
The program returns an error code that shows whether the transfer succeeded. A batch file can query it, and so can any application that launches the utility.
Works with any port that shows up as a COM port
It works with any COM port, including USB/serial, Bluetooth/serial and Ethernet/serial adapters, as long as the adapter exports a COM interface.
Who it's for
It suits you if you move files in batches between computers over a serial link and want the job automated from a batch file or from your own program. If you want a window with buttons and progress bars, this is the wrong kind of tool, because it only runs from the command line.
Pros and cons
- Pro: easy to script from batch files or other programs.
- Pro: a return code tells your script whether the transfer worked.
- Pro: three common protocols and any COM-style adapter.
- Con: no graphical interface.
- Con: the listed compatibility stops at Windows 7, so check it before using a newer system.
FAQs
Can I call it from my own application?
Yes. It can be spawned from any application, and the spawning program can read the error code it returns.
Does it work with USB serial adapters?
Yes, as does any adapter that presents a COM port, including Bluetooth and Ethernet serial adapters.
Which protocols can I use?
Xmodem, Ymodem and Zmodem.
System requirements
Windows 7, Windows Vista, Windows XP, Windows 2003, Windows 2000 or Windows NT, plus a COM port or an adapter that provides one.