trmptr
02-02-2003, 07:43 PM
I'm trying to put a Movable Type Blog up on my website. The instructions say to FTP some files in ASCII format and some in binary. How do I either of the two with ProFTPd?
|
Click to See Complete Forum and Search --> : proftpd trmptr 02-02-2003, 07:43 PM I'm trying to put a Movable Type Blog up on my website. The instructions say to FTP some files in ASCII format and some in binary. How do I either of the two with ProFTPd? Gaston 02-02-2003, 08:03 PM I guess what you're saying is that you need to login to some site using ftp and download some files onto your server. You could probably use your browser which should support anonymous ftp by default, just change the protocol in your browser's location area: ftp://some.site.com of what ever it happens to be. If you want to do it from command line on your box, you'd do: ftp -p ftp.someserver.somewhere (p flag for passive mode, some firewall settings don't allow any other form for security reasons so that your session can't be hijacked) userid: anonymous passwd: your email address. to get to binary mode, type "bin" also "cd" and "ls" commands should be supported so that you can change directories and list files, also you can use lcd (local cd) to change dir on your local box. then, once you're in right directory and you wanna download the file, just make sure you're in binary mode, then "get filename" If there are loads of file in same directory, then you migth wanna try "mget *", then you can interactively choose which files to download which not. Also, if you've got slow connection or the ftp-server happens to be busy, you might wanna use "hash" command, will help keep the connection alive and you'll see the process of the download on your screen. You can also download your ascii files in binary mode, won't hurt them. Once you're done, type "quit" to end your ftp-session "man ftp" will tell you more. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |