Link to home
Start Free TrialLog in
Avatar of anupam1983
anupam1983Flag for India

asked on

Downloading file from sftp

Hi,
I have to download a file from SFTP (using pvt-pub key pair). I have been exploring few options, but not having a good luck in that process. I am also exploring winscp commands.. Basically I have installed pub cert on sftp server. I need to use port 22, username, server name, pass phrase to connect to sftp server and download the file. Anything in powershell would also do

Regards,
Anup
Avatar of Travis Martinez
Travis Martinez
Flag of United States of America image

FileZilla doesn't work?  I may be misunderstanding the question...
Avatar of anupam1983

ASKER

Gui version of filezilla works.. but i need to code this process to automate the periodic download
SOLUTION
Avatar of Travis Martinez
Travis Martinez
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
But yes that does open the window; however, you can close all open windows with a separate command.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Apologies for delayed response. If I use winSCP, where/how do I mention passphrase while sending the request to SFTP server?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial