Path: news.cs.au.dk!Morten.Grouleff.Mjolner.Informatics From: Morten Grouleff Newsgroups: comp.lang.beta Subject: Re: FTP with BETA Date: 29 Oct 1999 08:32:06 +0200 Organization: Mjolner Informatics. Lines: 43 Message-ID: References: <19991026090905.21447.qmail@noatun.mjolner.dk> NNTP-Posting-Host: garm.mjolner.dk Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: xinwen.cs.au.dk 941178726 2642698 255.255.255.255 (29 Oct 1999 06:32:06 GMT) X-Complaints-To: news@cs.au.dk NNTP-Posting-Date: 29 Oct 1999 06:32:06 GMT X-Newsreader: Gnus v5.5/Emacs 19.34 Xref: news.cs.au.dk comp.lang.beta:12130 "\[tricos.com\] Sascha Kimmel" writes: > I've got a question regarding FTP and BETA. How can I send a local file > via FTP to the server with BETA? The problem is not how to connect and > to login to the server via BETA (that's no problem) but how to transfer > a certain file. The FTP protocol is rather peculiar, it uses a new connection for every data connection on top of the connection used for commands. I have not seen any implementations of the FTP protocol in BETA. > Do I have to open the file (in binary mode/text mode) which should be > transferred and then just write the output (FTP binary mode) to the > socket? No, unfortunately not. Take a look at the RFC for the FTP protocol: 0959 File Transfer Protocol. J. Postel, J.K. Reynolds. Oct-01-1985. (Format: TXT=151249 bytes) (Obsoletes RFC0765) (Updated by RFC2228, RFC2640) (Also STD0009) (Status: STANDARD) and possibly these too: 1123 Requirements for Internet hosts - application and support. R.T. Braden. Oct-01-1989. (Format: TXT=245503 bytes) (Updates RFC0822) (Updated by RFC2181) (Also STD0003) (Status: STANDARD) 2640 Internationalization of the File Transfer Protocol. B. Curtin. July 1999. (Format: TXT=57204 bytes) (Updates 959) (Status: PROPOSED STANDARD) They're available through SunSite: Regards, -- ** Morten Grouleff: ** ** Earthworm Jim PC: ** ** Mjølner Informatics: **