[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]]
==== How best to ftp arev files to a remote user? (AREV Specific) ====
=== At 10 JUN 1999 02:40:47PM Michael Witt wrote: ===
{{tag>"AREV Specific"}}
It takes too long for a remote user to dial into my network and download arev data with the purpose of printing out names on his printer. I've been advised its better to ftp the file to the remote user who can then open up the file and print it.
What's the best way to export data from arev into a file to ftp to the remote user who will then open up the file at his end and print out labels? The file will contain anywhere from 150 to 3000 names.
Or should I think about setting up a DSL connection in order for the remote user to download directly from network in arev? The 56K to 56K modem connection is TOO SLOW!
----
=== At 10 JUN 1999 03:21PM Warren wrote: ===
Why not just use pdisk and output the list to the host harddisk, this file can be zipped then transfered to the remote user system with the file transfer function of the remote access software, unzipped and printed at leisure?
----
=== At 10 JUN 1999 04:42PM Steve Smith wrote: ===
You could pipe instructions from a text file to FTP.EXE (supplied with Windows 95) and get AREV to parse the output along the way and control the session. The input would be about six lines.
ftp hostname.com
myname
mypassword
cd mypath
put myfile
quit
you would pipe this text (myscript.txt) to the ftp.exe command with the command
ftp.exe < myscript.txt
You also could use Perl.exe to run a script to do the FTP transfer.
You could use VB 5.0 (or later) and its FTP control to perform a Windows send (write the code on the form load event, and unload the application on the for load event
You could use VB 4.0 and the FTPX control from www.mabry.com
Steve
----
=== At 07 JUL 1999 12:24PM scott Willis wrote: ===
Thank you for the information. I am a co-worker of Michael's and have an additonal question regarding your response. While we can use the pdisk funsction to export a list and trandfer it to remaote user, the list does not print correctly when opened using any word proccessing software. (This is a limitation of our printer.)
To be specific, what we want to do is the following:
Create and do a savelist command for each list to be sent to the remote user. Then, go into the AREV directories and find the file where this saved list is stored, save it to a disk (or e-mail it) to the remote site so the remote person can then save the files into the same AREv directory. Thus, allowing the remote user to open AREV and simply doing a Getlist command, type in the list name and then type in the label_XXXX commmand as if he had created and saved the list on his machine.
IS this possible? Where are the savelisted files sorted within the AREV directories and how can we easily identify the correct files?
Thank you.
----
=== At 07 JUL 1999 12:31PM Victor Engel wrote: ===
This is possible, I suppose. Saved lists are stored in the LISTS file. This file can get quite large, so I think it is not a practical alternative. Why not use remote control software such as pcAnywhere? You can configure it to print on either the remote or host machine.
----
=== At 07 JUL 1999 02:22PM Scott Willis wrote: ===
We tried that initially, but the transfer rate was too slow for our needs and often times the connection was lost during the transmission. Thanks for the info.
----
=== At 07 JUL 1999 02:31PM Scott Willis wrote: ===
Actually, what is the path this file exists under and will we be able to identify individual list names?
----
=== At 07 JUL 1999 02:33PM Warren wrote: ===
Bypass the word processor for printing and from a command prompt (DOS) just do a:
copy /b xxxx.xxx prn
or
copy /b xxxx.xxx lpt1 (or lpt2 as the case may be).
This assumes (oh-oh!) that the user has the same type of printer as the printer format codes should be handled by ARev on the host machine and be embedded in the captured file. The /b switch tells the COPY command that this is binary file so it doesn't strip or convert special characters.
If you're in Windows you maybe able to create a shortcut to the printer on the desktop and just drag and drop the capture file to the shortcut. I'm not sure if this treats it as a binary file or not though.
----
=== At 07 JUL 1999 05:30PM Victor Engel wrote: ===
Type LISTFILES to find the volume on which LISTS appears. Then you can LISTMEDIA volume_name to get the actual DOS name.
----
=== At 07 JUL 1999 05:51PM Warren wrote: ===
DUMP lists is faster.
----
=== At 08 JUL 1999 01:45PM Victor Engel wrote: ===
True, but depending on the path, it could be truncated. Also, DUMP requires that the DOS file be directly accessible, something that is usually the case, but not necessarily, e.g., if the REVELATION user has been used for security purposes.
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=0BAB917F53658EE88525678C00669CBB|View this thread on the forum...]]