02-08-2008
From experience. There will be significant timing issues with this project.
***Will you run the transmit end as a loop within a script, or as a cron job?***
Will you run the controlling end (presumably windows) as a loop within a script or as a scheduled job?
On the transmit (unix) end the file will show in a directory listing when it is opened, so how will you prevent the ftp process from transmitting a partial file?
On the receive end(Windows), the file will not show in a directory listing until it is closed.
If you repeat file names, the windows end will not replace an open file.
If the file takes longer than one minute to transmit, how will you handle the next loop.
Other considerations:
email the file, and create an email recipient that is a process.
Create an LPR/LPD printer and have the Windows print driver be the receiving process.
Last edited by jgt; 02-08-2008 at 10:51 AM..
Reason: Change ftp server from transmit end to receive end
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear Friend,
I don't know much about unix.I am an VB6.0 Programmer.I need to move an text files as aaa.txt from unix server to windows "D: " driver using the FTP protocol.Is it possible to do this with help of unix shell script.If possible please give some sample codes.
Please answer as early... (1 Reply)
Discussion started by: gjsaravanan
1 Replies
2. Windows & DOS: Issues & Discussions
Hi,
My requirement is to connect to a windows system from unix fileserver and get some files then process them using shell scripting and database related stuff.it will generate some output.i have to copy again some files back to windows system at some directory.
How do i connect to windows from... (3 Replies)
Discussion started by: mohanpadamata
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Do any one know the shell script code to transfer a file from unix to windows on same PC (4 Replies)
Discussion started by: monika
4 Replies
4. Shell Programming and Scripting
Hi all,
I have a file in windows, example
a.txt
****
aaa
bbb
ccc
<empty line>
when i transfer this file to unix using ftp, and viewed the file
# vi a.txt
aaa
bbb
ccc
#
I dont get the empty line which i specified in that file in windows.
Please help me, which in unix... (5 Replies)
Discussion started by: Nandagopal
5 Replies
5. Shell Programming and Scripting
Hi guys,
I need to send a txt file from a windows machine to Linux server.
Any help is appreciated....
Thanks... (3 Replies)
Discussion started by: gowrishankar05
3 Replies
6. UNIX and Linux Applications
I am using Unix workstation to transfer a .txt file to my other Windows XP desktop using network. can u suggest some idea how to do. i am new to unix . (4 Replies)
Discussion started by: senthil17
4 Replies
7. IP Networking
hi, i want to write a shell script code which transfers files from a directory in unix server to a directory in a windows machine.. can any1 give me a sample code which uses ftp or sftp command..
thanks very much, (3 Replies)
Discussion started by: Little
3 Replies
8. Windows & DOS: Issues & Discussions
Hi all,
I'm a newbie to unix. My requirement is to create an automation script which will transfer a zipped folder from my/remote desktop to an unix server. Tools lik WinSCP shouldnt be used. No manual moving. I use putty to connect to server. I couldnt find any help on this topic. Should i use... (3 Replies)
Discussion started by: sherin22
3 Replies
9. Windows & DOS: Issues & Discussions
Hi,
Objective is to transfer files from windows server to Unix server using cygwin.
I have installed cygwin, and I manually execute commands and transfer files from windows to unix using sftp. These are steps I execute
1) Run cmd
2) Run cygwin
3) At prompt type sftp user1@uniserver
4) lcd... (2 Replies)
Discussion started by: wahi80
2 Replies
10. Shell Programming and Scripting
Hi All
I need to transfer a file from a UNIX server to a windows server.
I saw that it is possible to do this using scp command by looking at the forum listed below:
... (2 Replies)
Discussion started by: vx04
2 Replies
PAGESEND(8) System Manager's Manual PAGESEND(8)
NAME
pagesend - HylaFAX IXO/TAP and UCP transmit program
SYNOPSIS
/usr/sbin/pagesend [ -l ] [ -p ] [ -c config ] -m device-ID qfile
DESCRIPTION
pagesend is the program that implements the IXO/TAP and the UCP transmission protocol for the HylaFAX system. pagesend is invoked by the
faxq scheduler process for each pager transmit attempt. pagesend assumes that its current working directory is the top of the spooling
hierarchy and that a suitable modem device has been allocated for its use. In normal use pagesend will inherit a lockfile for the modem
from the faxq process. The format of the job description file specified on the command line is described in sendq(5).
pagesend initializes the modem before attempting to transmit the pager message using the information in the appropriate modem configuration
file. If the modem does not respond to this initialization, pagesend will repeatedly try to initialize the modem. This behaviour is
required for send-only environments in which a faxgetty(8) process is not run (and the modem would be known to be in a properly initialized
state). pagesend catches SIGINT and SIGTERM and cleans up any resources it controls; this is the mechanism used by faxq to abort a job
while it is in progress.
Many aspects of pagesend operation are controlled through a configuration file. The configuration file is located in the spooler hierarchy
in the etc subdirectory and is named config.device-ID; consult hylafax-config(5) for detailed information on the contents of configuration
files.
The protocol which must be used for a specific service provider is controled from the hylafax-info(5) file.
OPTIONS
-c config Treat config as a configuration parameter specification that is interpreted after reading the per-device configuration file. For
example, ``-c sessiontracing:0x4f'' would set the SessionTracing configuration parameter to ``0x4f'', overriding any setting in
the configuration file.
-m devID The device to use in processing the job. Note that this is a device identifier and not the pathname of the tty special file. A
device identifier is formed from a device filename by removing any leading ``/dev/'' and converting any ``/'' characters to ``_''
characters.
-l Do the UUCP lockfile protocol in pagesend. By default pagesend assumes that it is invoked with the device already locked and
that it does not need to manage the lockfile.
-p Do not change the process priority when transmitting. Normally pagesend will raise its priority to reduce i/o latency. This
option is useful for debugging.
NOTES
pagesend returns the new job status to faxq through the exit(2) return value of the process: send_retry (0), retry job; send_failed (1),
job finished without success, send_done (2), job completed successfully, send_reformat (3), job should be retried after documents are
reformatted.
FILES
/var/spool/hylafax/etc/config.devID device-specific configuration file
Consult hylafax-server(5) for a complete discussion of the structure and content of the spooling area.
SEE ALSO
faxq(8), hylafax-server(5), hylafax-config(5), hylafax-info(5)
October 3, 1995 PAGESEND(8)