$0 10.1 27575 : Need help with FTPCOnnect
jmv
jmvoegeli at bluewin.ch
Thu Jun 30 09:54:04 UTC 2022
Dear Geert,
> Le 30 juin 2022 à 09:34, Geert <Geert at royalbotania.com> a écrit :
>
> The endpoint name is a bit confusing
> FTP is for transferring files (port 21)
> SSH is secure shell
> Which one of these protocols were you instructed to use?
here are the method which dispatch the address as per instructions of One.com <http://one.com/> :
If (pServer="Public")
Calculate vFtp_Address as "ftp.aiki-ge.ch"
Calculate vUser_Name as "••••••••••••"
Calculate vPassword as "•••••••••••••••"
Calculate vPort as 21
Calculate vSecure as 0
Else If (pServer="Public_Code")
Calculate vFtp_Address as "ssh.aiki-ge.ch"
Calculate vUser_Name as "••••••••••••"
Calculate vPassword as "•••••••••••••••"
Calculate vPort as 22
Calculate vSecure as 1
Else If (pServer="Prive")
Calculate vFtp_Address as "ftp.aikidoosakageneve.ch"
Calculate vUser_Name as "••••••••••••"
Calculate vPassword as "•••••••••••••••"
Calculate vPort as 21
Calculate vSecure as 0
Else If (pServer="Prive_Code")
Calculate vFtp_Address as "ssh.aikidoosakageneve.ch"
Calculate vUser_Name as "••••••••••••"
Calculate vPassword as "•••••••••••••••"
Calculate vPort as 22
Calculate vSecure as 1
Else
OK message ATTENTION ! (Icon) {Le mode de connection n'a pas été déterminé}
Quit method kFalse
End If
Those instructions work within Cyberduck FTP program :
that's what I do to transfert the files manually through this program.
I will spare tremendous times doing it programatically.
Thank you.
Kind regards,
Jean-Marc
More information about the omnisdev-en
mailing list