PDA

View Full Version : Anyone here know how to use UNIX?


SkyeElemental
01-17-2007, 05:42 PM
I have to learn how to use it for my Python programming class, and my teacher did not explain very well how to put a file from your computer to a ftp server using UNIX. Can anyone help?

nameingway
01-17-2007, 05:44 PM
you mean a unix server using an ftp program?

www.smartftp.com

or search for filezilla on sourceforge, since smartftp started acting stupid.

fishjie
01-17-2007, 05:45 PM
i think the easiest way is to use an ftp client, one with a gui. much easier than trying to figure out a hideous command line.

your school uses SSH right? so just google an ssh ftp client.

then in the program, enter in the address, your username, password, it will connect. there will be two panes. one pane is your computer file system, the other is your server filesystem, it will probably be at /usr/yourusername. then drag a file over from the first pane to the second, or vice versa to transfer files.

nameingway
01-17-2007, 05:56 PM
if that's the case just download putty or secureCRT (not free like putty, but i prefer it).

Muff Daddy
01-17-2007, 06:03 PM
if you're running XWindows you can use a client. or if not and you have ssh just use scp from the command line.

scp user@hostname:/path/to/files/you/want/*.txt .

or to upload files

scp your_file.ext your_username@hostname:/path/to/where/you/want/

this really belongs in tech talk.

SkyeElemental
01-17-2007, 07:58 PM
Yeah, we use SSH. My class has us using PuTTY. Filezilla ended upbeing the thing I needed, so thanks a bunch for suggesting.

And my bad if it belongs in tech, I thought that was more for hardware issues.

fjf314
01-17-2007, 08:03 PM
I personally prefer using the SSH Secure Shell client. You can download it from the following ftp server:

ftp://ftp.ssh.com/pub/ssh/

The file you would want is SSHSecureShellClient-3.2.9.exe. You have to pay for the newer versions of SSH, but since this one is older you can use it for free. It's what we used for the first programming class I took at my University. It has an FTP client built into it, too, so you can tranfer files to and from the Unix system through it without needing to open another program.

fishjie
01-17-2007, 08:10 PM
hold up putty is just for ssh telnet not ftp? in other words, he can telnet into the school server, but how is he going to be able to copy over files? the school server has no concept of the client file system....?

am i missing something here


scp your_file.ext your_username@hostname:/path/to/where/you/want/

this really belongs in tech talk.

clarify this to a poor windows user. I thought scp copied files between unix servers (and it has to be configured so the two servers both have the ssh keys set up). if he's running on a windows machine connected through an ssh client, how is scp going to work? it has no concept of the client file system???

Muff Daddy
01-18-2007, 07:07 AM
am i missing something here

clarify this to a poor windows user. I thought scp copied files between unix servers (and it has to be configured so the two servers both have the ssh keys set up). if he's running on a windows machine connected through an ssh client, how is scp going to work? it has no concept of the client file system???

yeah. you can pull files from a unix machine which is running sshd using scp. i assumed that he was using some flavor of Unix because of the thread title. if however, he is running a Windows machine with an ssh client, the client has to be able to use sftp for file transfers over ssh. scp works in the same way that ftp works: the files are either binary or ascii.

as far as ssh keys go, you don't always need them. some people generate public/private key-pairs and then distribute them to client machines so that clients that have the key installed won't need a password to login - but password authentication works fine too.

start a unix thread already :annoy:

fishjie
01-18-2007, 07:08 PM
ah, i was assuming he was on windows.

and i totally forgot what the ssh keys were for. now i remember. i set them up many years ago because i was tired of entering in credentials. yeah, you don't need the key pairs to scp.

luckily (unfortunately?) i have not worked with UNIX or LINUX in a long time and probably wont for a while............ LAMP? More like Windows, IIS, SQL Server, and C#. although the windows command line is horrible. its like they took everything good about unix, removed and or nerfed it, and named it DOS. SICK!

I guess Visual Studio isnt nearly as good of an editor as emacs, but since I never really learned emacs its ok. PICO - the editor for noobs - for life!