[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Re: file upload?

Christopher Fowler cfowler@outpostsentinel.com
Wed, 20 Nov 2002 18:18:26 -0800 (PST)

One option is to implement the XMODEM protocol in the console client.  
However I found this option to not work very well over TCP/IP.  
Consider that 50% of the traffic is in-band and the other is out-of-
band.  But it is doable.  

I might investigate this myself.  XMODEM is the easiest but ASCII would 
be even easier.  

On console of Sun Box:

uuencode binFile BinFile > binFile.uue
cat binFile.uue

Then somehow on the console.c capture the data?  

> unfortunately, the answer is no.  not from withing conserver, anyway.
> you could probably glue other tools together or use kermit or 
> and just tell conserver to not watch the port while you're doing that
> (down it with ^ecd).
> i've had this request before and even started trying to implement it.
> it's not easy, however, given the code as it stands.  there are 
> answers that could be coded up, but a full solution is tricky.  for
> example, you'd kinda want the interaction to be uninterruptable.
> meaning, if you're doing an upload, you don't want someone else to 
> along and bump you or have them send a broadcast message or have them
> trigger a server message down the stream.  so, the server needs to 
> that it's a "batch" interaction and do all the appropriate stuff.  
> you could just "hack in" an external command thing into the client and
> pray that nothing screws with the streams.  hmm..."don't cross the
> streams...that would be bad".
> so, yes, a good thing to have.  easy?  no.  hack it in?  perhaps.  do
> it right later?  definitely...just not sure when i'll get to it (other
> crazy things are higher on the list).
> in the mean time, i'd probably just use kermit...i think it can tie
> it's socket to an external command.
> Bryan
> On Wed, Nov 20, 2002 at 01:22:09PM -0800, Jim Gottlieb wrote:
> > Hi all.  I'm looking for a way to upload a file during a 
connection.  I
> > need to do ASCII uploads and downloads to our PBX.
> > 
> > For the download, I just use the logging feature to capture it to a
> > file, but I haven't found an easy way of uploading.  For short 
> > I cut and paste a page at a time, but this is impractical for large
> > uploads.
> > 
> > Is there anything like cu(1)'s ~$cmd ("Runs cmd locally and send its
> > output to the remote system") or any other way to accomplish this?
> > 
> > Thanks...
> > _______________________________________________
> > users mailing list
> > users@conserver.com
> > https://www.conserver.com/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users@conserver.com
> https://www.conserver.com/mailman/listinfo/users