Xshell has now added support for Xmodem and Ymodem file transfers. Many users requested this feature and we are happy to announce its implementation. Users can now take advantage of Xmodem, Ymodem, and Zmodem for drag and drop file transfers.
We’ve made some configurations to our File Transfer property sheet. Go to your session properties and select File Transfer to select your upload protocol:
Go to X/YMODEM to select your packet size (1K or 128 Bytes). Here you can also set the upload commands. You’ll also notice we’ve made changes to the context menu when right clicking within your Xshell session for user convenience.
Now let’s try utilizing a Ymodem file upload. Make sure you’ve selected Ymodem as your upload protocol when dragging and dropping in session properties and connect to a host using SSH (Telnet is possible as well). Then navigate to your desired target directory. From here you’ll need to type out the upload command as Ymodem (and Xmodem) doesn’t have a trigger code. Type “rb -E” and select while file you would like to upload by navigating to “Send with YMODEM” in the context menu:
The file will then be uploaded using the Ymodem protocol:
Or you can simply drag and drop to initiate a Ymodem transfer. You’ll need to have made sure that you’ve selected Ymodem as your upload protocol in session properties. In this case, the “rb -E” command is not needed.
Now let’s receive a file using Ymodem. Once again, you’ll need to type the download command “sb -E ‘filename'”. Right click within your session and navigate to Transfer -> YMODEM -> Receive with YMODEM. Then browse to the folder you would like to save and hit OK. The file will begin downloading to your PC:
We’ve now done both a file send and receive utilizing the Ymodem protocol. Depending on your server requirements, you may have to use Xmodem or Ymodem downloads, but we recommend using the default Zmodem protocol.