Telnet FTP assistance needed :)

scaryjeff

Member
Sep 14, 2000
133
0
0
Hiya

I am trying to upload some files to my website from my room at university. This is fine, I have to first FTP those files to my user space on my department server, then I use telnet to connect to my ftp server and upload the files (I cannot ftp direct from my room). However, telnet doesn't seem to be all that helpful. One problem I am having is that I cannot go up a directory. It is fine when using ftp, I just use 'cdup', but when negotiating the filesystem on the department server, I can't go up a directory at all. Also I can't copy a folder at a time (I can use mput * *, but using that you have to confirm every single file).

So, does anybody know how to
a) Go up a directory (cd.. does not work - 'cd..: command not found').
b) copy a whole folder at a time (this one isn't so important)

I am using the telnet client that comes with windows 2000.

Thanks for any ideas :)
 

macwinlin

Senior member
Apr 11, 2002
523
0
76
Do you have a space between "cd" and ".." so that it is "cd .." and not "cd.."? I don't remember if a user was allowed to omit the space between the two. I guess I'll have to try it out on one of my Linux machines.
 

scaryjeff

Member
Sep 14, 2000
133
0
0
Oh right thanks.

Yes I was not using a space, and if I use a space, it works fine. Thanks :)

It would still be very useful to be able to upload a whole directory at once.
 

RSMemphis

Golden Member
Oct 6, 2001
1,521
0
0
btw, most commands like this work in ftp as well.

For your mput problem: start ftp with the -i command line option, that should work at least under *NIX.

Also, you can put directories, as far as I remember, but you have to create it first.

e.g.

ftp myserver.com

Connecting to myserver.com
Username: Myuser
Password: xxxxxx

cd /usr/home/myuser
mkdir mydirectory

put mydirectory

--- Pretty sure that works, too ---