• FTP

    From Ilmarinen@VERT/SPACEBBS to All on Fri Feb 20 16:32:00 2004
    Hi all, just a quick question.....ããI was wondering what the command is to check for the existance of a file viaãFTP. I searched ftp.src and qnet-ftp.src and couldn't find anything. I found aãfew Baja FTP commands such as ftp_delete, ftp_get, and others. Evenãbetter yet, is there a listing somewhere of all the available Baja FTPãcommands? Thanks in advance :)ãã---ã þ Synchronet þ SPACE BBS - spacebbs.no-ip.comã
  • From Digital Man@VERT to Ilmarinen on Fri Feb 20 15:58:29 2004
    Re: FTPã By: Ilmarinen to All on Fri Feb 20 2004 04:32 pmãã > Hi all, just a quick question.....ã > ã > I was wondering what the command is to check for the existance of a file viaã > FTP. I searched ftp.src and qnet-ftp.src and couldn't find anything. I foundã > few Baja FTP commands such as ftp_delete, ftp_get, and others. Evenã > better yet, is there a listing somewhere of all the available Baja FTPã > commands? Thanks in advance :)ããThere is a list of the Baja FTP functions in docs/v300_new.txt. The command youãwould use is either FTP_DIR (to get a directory listing). But to check for aãfile's existence programatically, it would probably better to query the file'sãsize instead (using the FTP "SIZE" command). Unfortunately, I didn't make aãBaja function to this, so you'd have to send the command to the socket manuallyãand parse the response (not too difficult).ãã digital manããSnapple "Real Fact" #91:ãThere are more telephones then people in Washington D.C.ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Angus Mcleod@VERT/ANJO to Ilmarinen on Fri Feb 20 19:59:00 2004
    Re: FTPã By: Ilmarinen to All on Fri Feb 20 2004 16:32:00ãã > better yet, is there a listing somewhere of all the available Baja FTPã > commands? Thanks in advance :)ãã /sbbs/exec$ strings baja | grep -i FTPã FTP_LOGINã FTP_LOGOUTã FTP_PWDã FTP_CWDã FTP_DIRã FTP_GETã FTP_PUTã FTP_DELETEã FTP_RENAMEã /sbbs/exec$ãã<shrug>ãã---ã þ Synchronet þ Where we BAJA Rob into writing our modules. The ANJO BBSã