Transfer files using FTP over SFTP for SSH/SFTP site

Core FTP client questions and answers
Post Reply
vinhdang
Posts: 1
Joined: Tue Oct 15, 2019 6:33 pm

Transfer files using FTP over SFTP for SSH/SFTP site

Post by vinhdang »

Would someone please help to explain what difference between using ftp overs sftp to download files from a SSH/SFTP site?

So, I have a site profile setup with SSH/SFTP.

I use coreftp command line to download file from there. I am trying to understand if using ftp for the url it make any difference from sftp.

Example command lines:
using FTP: coreftp.exe -s -site SiteProfileName -d ftp:///Inbox/FileTest_* -O -output "C:\Temp\mylog.log"
using SFTP: coreftp.exe -s -site SiteProfileName -d sftp:///Inbox/FileTest_* -O -output "C:\Temp\mylog.log"

Thanks for your time and advice
VD
ForumAdmin
Site Admin
Posts: 979
Joined: Mon Mar 24, 2003 4:37 am

Re: Transfer files using FTP over SFTP for SSH/SFTP site

Post by ForumAdmin »

use SFTP, but the more common use of the command line would be:

coreftp.exe -s -O -site SiteProfileName -d /remote_path/filespec -p c:\local_path\ -output c:\temp\mylog.log
Post Reply