On Sun, 06 Jul 2003 22:23:57 +00, Bastiaan Edelman, PA3FFZ wrote: > On Wed, 09 Apr 2003 20:10:42 -0400, Glenn McCorkle wrote:
>> On Tue, 08 Apr 2003 17:23:38 +0930, Greg Mayman wrote: >> <snip> >>> There is a second problem with Arachne in that I cannot view the remote >>> site using the "ftp://[EMAIL PROTECTED]" form of command on >>> the URL line. All I get after a query for my password is a message >>> "230-Welcome to your FTP Server."LaAR-�` >>> Glenn McCorkle says that at that stage I should see a listing of my >>> directory. Well, I don't see anything other than the above message. > I had planned to look into this matter for some months now. > I looked with "RS232 Tester" that tracks the data send or recieved via > the RS232 port connected to the modem. > I logged the FTP-connection made with 'windows commander'. It made > connection, a file was downloaded, a file was uploaded and the uploaded > file was deleted again. > The FTP login was on my own homepage that does not allow anonymous > login. > My conclusions: > If "230 Welcome" is returned you are in successful :-) > But now the provider is waiting for commands: > LIST (returns the directory) > RETR balun12.jpg (downloads the file balun12.jpg) > STOR her'der.wp5 (uploads the file her'der.wp5) > DELE her'der.wp5 (deletes the file her'der.wp5) > QUIT (ends the FTP-connection) > But how to give these commands from Arachne? These commands are 'built-in' to Arachne. --- clipped from the SRC code (ftp.c) --- sprintf( str, "USER %s", ptr); sprintf( str, "PASS %s", ptr); sprintf( str, "CWD %s", url->file); sprintf( str, "LIST"); sprintf( str, "TYPE I"); sprintf( str, "TYPE A"); sprintf( str, "RETR %s", url->file); sprintf( str, "STOR %s", url->file); quit: sock_puts(socket,(unsigned char *)"QUIT"); sock_close( socket ); __________________________________ (note) Arachne cannot delete nor rename files via ftp. All of the commands she does are strictly for 'logging-in', 'directory listing', 'uploading' and 'downloading' purposes. She is *not* by-any-means a 'full featured FTP client'. -- Glenn http://arachne.cz/ http://www.delorie.com/listserv/mime/ http://www.cisnet.com/glennmcc/ http://www.cisnet.com/glennmcc/aqc/
