The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: FTP Issue-Help
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 02-11-2009
stanleypane stanleypane is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 23
This script is written to use SFTP, but your test at the bottom shows that they don't have SFTP setup or it's on a different port than 22.

I'm betting they want standard FTP. Try using the ftp command to get to the host or telnet to port 21. If you get a response, then they are using standard FTP.

It looks like you'll have to rewrite your script to use FTP, but I would confirm that is the case before doing anything.