View Single Post
  #2  
Old 03-01-2021, 02:35 PM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 1,096
Dear FabriceCarboni,

If you're using SecureCRT and you're writing a SecureCRT script then you don't need to employ any non-VanDyke Software products to accomplish SFTP activity.

For example, if you're already able to use SecureCRT to connect with a host using SSH2, then just open an SFTP tab and send the necessary commands to upload the file you desire to that remote host.
https://forums.vandyke.com/showthread.php?t=10606
Also, please note that your switch must have SFTP server capability to do what you're looking to accomplish.

The text of your example mixes terminology between TFTP and SFTP. If you're trying to automate a transfer via TFTP, then you'll probably still be able to do that since SecureCRT has a built-in TFTP server, but you may need to provide more details about how you would do the TFTP transfer manually from the SecureCRT command line, and then assistance could potentially be provided to help you better understand how you might be able to automate that TFTP transfer.

If you're set on using paramiko or pysftp, you should know that these forums are specific to VanDyke Software products. Assistance with other products like paramiko or pysftp would need to be requested from the vendors/creators of those products.

--Jake
__________________
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: https://www.youtube.com/vandykesoftware
Email: support@vandyke.com
Web: https://www.vandyke.com/support
Reply With Quote