AERIS/ICARE was migrated his good old FTP server to SFTP
For security reason, we are abandoning the FTP protocol in favor of SFTP on our distribution server. Depending of the way you are using this service, you can have to change the commands you are used to. Note that not all applications support the SFTP protocol, and some additional tools may need to be installed (sshpass, lftp)
The following table shows how it must be adapted
ftp | sftp | |
Interactive | ftp ftp://ftp.icare.univ-lille1.fr | sftp sftp://sftp.icare.univ-lille.fr |
Scripting | #!/bin/bash ftp -n ftp.icare.univ-lille1.fr << EOF quote USER <user> quote PASS <pass> ls quit EOF | lftp sftp://sftp.icare.univ-lille.fr -u <user>,<pass> << EOF ls quit EOF or, alternatively sshpass -p <pass> sftp <user>@sftp.icare.univ-lille.fr << EOF ls quit EOF |
wget | wget *.nc ftp://login:password@ftp.icare.univ-lille1.fr | wget does not support sftp |
ncftp | ncftpget -u <user> -p <pass> ftp://ftp.icare.univ-lille1.fr/*.nc | ncftp does not support sftp |