SFTP a file instead of ftp

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
sam14189
Posts: 31
Joined: 22 Jan 2015 02:57

SFTP a file instead of ftp

#1 Post by sam14189 » 30 Jan 2015 02:22

Hi,
Is there a way to use SFTP instead of FTP? I have checked the firewall and it does support SFTP so if Windows Batch script also has functionality to sftp a file then we would like to go for it? Also while SFTP can we get logs of the transaction?

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: SFTP a file instead of ftp

#2 Post by foxidrive » 30 Jan 2015 05:02

In your last thread somebody asked you for information, and you chose to ignore it.
You still want a log file - and this seems to be the primary goal according your your last thread .

viewtopic.php?f=3&t=6211


See here: viewtopic.php?f=3&t=6108

sam14189
Posts: 31
Joined: 22 Jan 2015 02:57

Re: SFTP a file instead of ftp

#3 Post by sam14189 » 30 Jan 2015 06:17

foxidrive wrote:In your last thread somebody asked you for information, and you chose to ignore it.
You still want a log file - and this seems to be the primary goal according your your last thread .

viewtopic.php?f=3&t=6211


See here: viewtopic.php?f=3&t=6108

I did reply to all the folks that asked me some or the other question. I will again check if i have missed any question and in that case will reply back. Anyways its not just about the log file, i wanted to know if we can use sftp as well. If yes then i would like to go for it due to security reasons.

Squashman
Expert
Posts: 4488
Joined: 23 Dec 2011 13:59

Re: SFTP a file instead of ftp

#4 Post by Squashman » 30 Jan 2015 07:15

1) Windows does not have a native SFTP client.

2) Doesn't matter if it is a FTP or SFTP command line client. You would log them the same way.

sam14189
Posts: 31
Joined: 22 Jan 2015 02:57

Re: SFTP a file instead of ftp

#5 Post by sam14189 » 30 Jan 2015 07:26

Squashman wrote:1) Windows does not have a native SFTP client.

2) Doesn't matter if it is a FTP or SFTP command line client. You would log them the same way.

Thanks! I thought SFTP is secure and that's why i thought of using it. Using the native ftp client i am not able to get "Transfer completed" message when file is ftp'd.

Post Reply