No Next Item No Next Conference Can't Favor Can't Forget Item List Conference Home Entrance    Help
View Responses


Grex Info Item 276: file transfer Grex to PC
Entered by mcpoz on Mon Feb 12 02:11:02 UTC 1996:

Question:  If I have a file on my Grex directory under /u/mcpoz/*.*, how can
I download that to my pc?  I have tried with my send/receive commands and am
now very confused.  Do I conduct this directly using the Send command?  The
Receive command?  ??   Thanks

19 responses total.



#1 of 19 by scg on Mon Feb 12 04:53:04 1996:

Assuming you're connected over a dial-up line, try 

sz filename

at the prompt on Grex, where filename is the name of the file to download.
Right after that, start a ZModem receive with your communications software.


#2 of 19 by davel on Mon Feb 12 12:19:42 1996:

... with some comm software, starting a zmodem send on Grex will automatically
start a zmodem receive on your PC without your having to intervene.

Similarly, use     sx filename    and then start an xmodem file receive, or
use     sb filename    and start a ymodem-batch file receive, depending on
what your emulator supports.

Over a network login you're likely to have to use either kermit or ftp.  In
general, make sure you're set to binary transfers with either of these.  (With
kermit you have to set *both* ends to binary.)


#3 of 19 by rcurl on Mon Feb 12 16:21:36 1996:

Binary? I've had no trouble using kermit or ftp in text mode to transfer
text files. What's the basis for the choice, again? 



#4 of 19 by scg on Tue Feb 13 06:47:25 1996:

I think text mode fixes the line breaks to work with different systems, while
binary transferrs the file as is.  If you use text mode with a text file, it
will be much more readable, but if you use text mode with a binary file, well,
let's just say that your binary file will come through pretty useless.


#5 of 19 by davel on Tue Feb 13 16:05:43 1996:

Right.  Rane, I've encountered enough questions of the "hey - what happened
to the ZIP file I downloaded??????" type that I tend to tell people to use
binary.  If you're sure that the file you're downloading is text, by all means
use text mode.  But a lot people are clueless about what that difference
means.


#6 of 19 by mcpoz on Wed Feb 14 02:12:05 1996:

This is strange, I never saw response #1,2 or #3.  Today, response #4 showed
up and I went back and found the earlier ones.  ?   ? 

Thanks for the tips.  I'll get busy trying them!


#7 of 19 by mcpoz on Wed Feb 14 02:28:15 1996:

Well, the !sz filename worked fine.  How would I put a pc file into my Grex
directory?  !rz filename?  (I'll wait on your reply just so I don't gum up
the grexworks)
Thanks


#8 of 19 by scg on Wed Feb 14 04:24:31 1996:

You're right.  !rz filename.  People were saying a while ago that it's better
for Grex to upload on a 2400bps line than on a 9600bps line, since it doesn't
pound Grex as hard.  I'm not sure what the current thinking on that is.


#9 of 19 by popcorn on Wed Feb 14 16:04:04 1996:

This response has been erased.



#10 of 19 by mcpoz on Thu Feb 15 02:13:57 1996:

thanks


#11 of 19 by mcpoz on Sat Feb 17 02:35:52 1996:

Boy, I am having trouble lately.  Can't figure it out or solve it by trial
and error.  My symptoms are:

    In any highlighted command box, If I type a response, I get the box and
    the command repeated immediately to the right of the curser.  As I type
    each character, it is added to the repeat image after the cursor.   

    In Pine, the same thing happens.  Additionally, while typing an e-mail,
    as the word-wrap feature "wraps" it inserts the first word or two from
    the line.  This inserted word can not be edited out.  If I try to arrow
    or space, it just jumps over these characters.  I can not send mail now.

    I can not erase any entry on the command line.  I found out by trial and
    error that I can use ^w to take out a whole word, but I used to be able
    to simply backspace.  I tried to "change my erase key" in menu, but no
    luck.

Any ideas?  This happens in two softwares, COMit, and BitCom.  I recently 
changed computers, and previously used COMit with no problems.  Before I 
was accessing the software from DOS and now I am accessing from Windows.  


#12 of 19 by mcpoz on Sat Feb 17 18:33:30 1996:

WELL!  I got almost everything straightened out by trial and error.  For some
reason, the BitCom software could not be configured to work correctly.  The
COMit works ok except for one aggravating problem.      

When I am in Pine, and I use the "Y" command to print a file, it "prints" it
on my screen.  I have gone into set-up and tried all the suggested variations
and I get either the same result or some indication that it could not read
the command.  Is there any suggestion on how to get my printer to print out
a copy of an e-mail letter?  The printer works fine in all other applications,
including the "print highlighted text" and other commands.      

Thanks again.


#13 of 19 by rcurl on Sat Feb 17 20:05:26 1996:

You have to *remove* any printer specification from the setup file. In
the version of pine used on Grex, that means choosing "attached-to-ansi"
(option 1) in the Printer submenu of the Setup option. I forget if I
did that, actually: what I know does work is to edit .pinerc so that
the printer specification is

# Your printer selection
printer=                   

...well - it works for me, on several machines with pine.


#14 of 19 by scg on Sun Feb 18 06:19:04 1996:

Rane's right, sort of.  Chances are you've already got things set up as he
suggests.  However, not all communications software supports that kind of
printing.  You may just have software that doesn't support it.


#15 of 19 by rcurl on Sun Feb 18 07:51:08 1996:

I've had it fail, or screw up. On a Mac IIci with Telnet, printing to a
Laserwriter, it always works. On a Mac SE with Versaterm, printing to a
Deskwriter 540, its OK unless the message is long (several pine windows),
when it doesn't print them all unless I do some special tricks. So I agree
- it can be idiosyncratic. 



#16 of 19 by brown on Sat Mar 9 12:27:45 1996:

Will the same commands mentioned above also work while telnetting?
if not, what might? (also to double-check, what is the filename for my
mailbox)
Bob


#17 of 19 by popcorn on Sat Mar 9 14:30:22 1996:

This response has been erased.



#18 of 19 by brown on Mon Mar 11 06:47:31 1996:

I'll give it a try, thanks.
but to add to this..how would i use the info once I j\have it? could it just
be opened as a text file?


#19 of 19 by davel on Mon Mar 11 12:21:12 1996:

Your incoming mailbox is indeed a text file.  The basic structure will be a
series of messages, each starting with a line beginning "From " (note the
space, & there are some other relevant  points about it).  This line and the
ones which follow are headers, some of which are under the senders' control
& some of which are automatically generated.  Eventually you get an empty
line, and then the message body, which is normally just text.  (It is possible
to get binary stuff in there, but in theory it should be encoded somehow. 
If you have attachments which include binary files they probably are encoded
by mime or uuencode or something, so they appear as text in
possibly-not-especially-understandable form.)  At the end of the message there
should be another empty line before the next "From " line.

Two other comments about downloading your incoming mailbox.  You can use
kermit, ftp, zmodem, or whatever to download it - but these aren't likely to
use whatever locking prevents sendmail from adding to the file during this
process.  So you might wind up with a partial message at the end of the thing.
Also, sending it from Grex doesn't remove it from /var/spool/mail, so unless
you do something to delete your messages, you're going to keep downloading
the same ones over & over, & your file transfers will get longer & longer.

Response not possible - You must register and login before posting.

No Next Item No Next Conference Can't Favor Can't Forget Item List Conference Home Entrance    Help

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss