UGN Security
Posted By: §intå× FTP using telnet - 02/25/03 10:31 AM
Anyone know how? I know there is a way but I do not know how.
Posted By: Infinite Re: FTP using telnet - 02/25/03 08:09 PM
I very much doubt it. YOu can connect to a ftpd no problem, but you need to be able to open connection another for the data transfer. This includes a listing as well as file transfering. The most I have ever been able to manage is to get logged in.

INfinite
Posted By: SilentRage Re: FTP using telnet - 02/26/03 12:50 AM
well, heh. You could telnet to ftp. Then use PASV and telnet to the data port the server specifies. that way you can browse around and move/copy/delete files, perhaps create textfiles using that technique even. Totally not worth the effort. smile
Posted By: §intå× Re: FTP using telnet - 02/26/03 05:18 PM
I feel kinda n00bish now, dose "copy" allow you to copy files from the remote box to your local box? I would think there is a way, I mean the GUI's have to execute some code to work right?

SR I know in Linux you forced yourself to learn the command line by never using the GUI at least for a good while. I am hoping you can answer this for me. If you feel you did please forgive my ignorance here.

I am trying to figure out if I can do everything I can through telnet I can in say, WS_FTP. Mainly File transfer. I know I can mover, delete, copy, and edit on the server. I am looking for Local to remote transfer.
Posted By: pergesu Re: FTP using telnet - 02/26/03 09:09 PM
Alright, well I spent a while googling on ftp and telnet, and didn't find what you want. I mean in theory you could, which is what SR was sayin, and you would just have to send protocol commands to do what you want. Copy, at least what I think SR is saying, is just copying a file on a server. So creating a duplicate file with a different name on a different server. If you want to transfer it to your machine, you have to use get. Now basically, as I see it, you can use telnet as an ftp client, but it'd be a horrendously painful client. That's what command line clients are for... it's entirely possible to learn ftp just by using an ftp client, and the commands should be standard. The output (data stream to server) is all the same, of course, and I think that the interface (commands you type) are the same for clarity's sake. Every client I've used has standard commands, anyway. A GUI client does the same thing, it just attaches buttons to ftp commands. So basically, just grab a command line ftp client and you're set.
Posted By: Infinite Re: FTP using telnet - 02/26/03 09:35 PM
Why not just use a command line ftp clietn? I know it's not telnet, but you will get about the same effect with a whole lot less hassle.

As for the commands, the rfc is the best resource on this. But for arguement's sake, to copy a file from a server to the client the command is "GET", and to upload the file you use the command "PUT". Of course, those both have versions to tranfer mutiple files called "MGET" and "MPUT" respectively.

But seriuosly man, your doing the equivilent of bashing your head into a wall repeated ly here. The saying "The right tool for the right job" comes to mind.

Infinite
Posted By: SilentRage Re: FTP using telnet - 02/27/03 12:32 AM
because of the FTP protocol learner, it makes it practically impossible to transfer files via telnet. However, if you're using linux, then you can probably use the cat utility to send files to the ftp data port and have them saved remotely.

but even that's a bad idea. FTP clients may sometimes convert data to another format when transferring it between different machine types.

telnet is fine if you want to manage a remote ftp server's files, but not fine if you want to transfer files back and forth.
Posted By: §intå× Re: FTP using telnet - 02/27/03 06:09 AM
Thanks guys. And to answer why I wanted to know this.. Simpley to know. I mean in theory telnet can connect and preform mnay protocol tasks. I had just never heard of using telnet to FTP. I thought it should be possible and was having a hard time finding good info on it.

Still not 100% sure I got what I was looking for in your answers but I am going to try a few tings now. Thanks again for the help.
© UGN Security Forum