ftp to sftp

Have the feeling that everybody is staring at you in the other forums? Then look here, in this forum nobody does care what you say ;-)

Moderator: Project members

Post Reply
Message
Author
sandeepdeepala
500 Command not understood
Posts: 1
Joined: 2016-12-18 17:28
First name: sandeep
Last name: deepala

ftp to sftp

#1 Post by sandeepdeepala » 2016-12-18 17:31

Guys I need your help,

we are trying change the unix script from ftp to sftp.

current script:

ftp -n<<EOF
open "$hostname"
user "$username" "$password"

New Script:

sftp -n<<EOF
open "$hostname"
user "$username"

will this work ...please let me know.

User avatar
boco
Contributor
Posts: 26913
Joined: 2006-05-01 03:28
Location: Germany

Re: ftp to sftp

#2 Post by boco » 2017-01-28 23:26

Unless there is an sftp executable on your system that uses exactly the same syntax as the ftp one, no.

SFTP is a completely different beast as FTP.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Post Reply