![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| "find command" to find the files in the current directories but not in the "subdir" | swamymns | Shell Programming and Scripting | 9 | 07-22-2008 08:23 AM |
| Development Releases: Linux Mint 4.0 Beta "Fluxbox", 4.0 Alpha "Debian" | iBot | UNIX and Linux RSS News | 0 | 01-04-2008 12:00 PM |
| Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" | Lokesha | UNIX for Dummies Questions & Answers | 4 | 12-19-2007 10:52 PM |
| Unix "at" / "Cron" Command New Problem...Need help | Mohanraj | UNIX for Dummies Questions & Answers | 3 | 01-26-2006 05:08 PM |
| "SCRIPT" (recording session) from ShellScripts | mohanprabu | Shell Programming and Scripting | 3 | 11-27-2004 06:36 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Help! "Put" command from telnet session
Probably the lamest question of them all
The trouble is, I haven't the foggiest idea about the proper syntax for the "put" command. How do I designate the path to the file on my local machine? I've already navigated to the directory on the server where the file needs to go. I'm also pushing from the Mac OS X, if that is useful. Thank you so much! Melissa |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Melissa, I am not a Mac user, but ftp is pretty standard. On a PC, I would:
change to the directory where my local file is ftp <myserver> (reply to username and password prompts) cd <the remote source directory> ascii (if it is an ascii file) put myfile bye Optionally, instead of first changing to the local directory, you can get into ftp and do a "local change directory": lcd <my local directory> Good luck. |
|
#3
|
||||
|
||||
|
Well, ftp is meant to transfer files while telnet itself really isn't. You can see if you can use "kermit" or "zmodem" to transfer the file. Depending on the telnet client, you may be able to cut and paste into a text file (if that's what it is)...
Hope that helps at least a little. |
|
#4
|
|||
|
|||
|
u can use mput as well, like this:
mput myfile* it will put myfile.out, myfile.txt and so on together remember to enter "prompt" |
|
#5
|
|||
|
|||
|
Put with Telnet
Anyone can correct me if I'm wrong but if all you have is Telnet, you don't have any real method by which to transfer a file. That's what ftp is for. If the file is small and you are using an emulator that will allow cut and past, maybe you can cut it from your machine, telnet to the remote machine and paste it there using a text editor.
|
|
#6
|
|||
|
|||
|
Thanks everyone
Whew! |
|||
| Google The UNIX and Linux Forums |