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
LEARN ABOUT DEBIAN
auserver
AuServer(3) Library Functions Manual AuServer(3)
Name
AuServer - AuServer structure
Structures
#include <audio/audiolib.h>
typedef struct _AuServer
{
. . .
}AuServer;
MACROS
Do not dereference the members of the AuServer structure directly. Instead use the access macros.
server is a pointer to a AuServer structure.
AuServerConnectionNumber(server)
Accesses the int connection number.
AuServerQLength(server)
Accesses the int value with the length of the input queue.
AuServerVendor(server)
Accesses the NUL-terminated string giving the identification of the audio server vendor.
AuServerProtocolMajorVersion(server)
Accesses the int value of the major protocol revision number of the audio server.
AuServerProtocolMinorVersion(server)
Accesses the int value of the minor protocol revision number of the audio server.
AuServerVendorRelease(server)
Accesses the int value with the release number of the audio server.
AuServerString(server)
Accesses the NUL-terminated string giving the server name.
AuServerNextRequest(server)
Accesses the AuUint32 serial ID of the next protocol request to be sent.
AuServerLastKnownRequestProcessed(server)
Accesses the AuUint32 serial ID of the last known protocol request sent.
AuServerResourceBase(server)
Accesses the AuID base used in constructing resource ID's.
AuServerResourceMask(server)
Accesses the AuID mask used in constructing resource ID's.
AuServerMinSampleRate(server)
Accesses the int value with the minimum sample rate supported by the server.
AuServerMaxSampleRate(server)
Accesses the int value with the maximum sample rate supported by the server.
AuServerMaxTracks(server)
Accesses the int value indicating the maximum number of tracks supported by the server.
AuServerNumFormats(server)
Accesses the int value indicating the number of formats supported by the server.
AuServerNumElementTypes(server)
Accesses the int value indicating the number of element types supported by the server.
AuServerNumWaveForms(server)
Accesses the int value indicating the number of waveform generators supported by the server.
AuServerNumActions(server)
Accesses the int value indicating the number of actions supported by the server.
AuServerNumDevices(server)
Accesses the int value indicating the number of server devices.
AuServerNumBuckets(server)
Accesses the int value indicating the number of server buckets.
AuServerFormat(server, n)
Accesses the int value of the n'th format supported by the server.
AuServerElementType(server, n)
Accesses the int value of the n'th element supported by the server.
AuServerWaveForm(server, n)
Accesses the int value of the n'th waveform supported by the server.
AuServerAction(server, n)
Accesses the int value of the n'th action supported by the server.
AuServerDevice(server, n)
Accesses the AuDeviceAttributes structure of the n'th server device.
AuServerBucket(server, n)
Accesses the AuBucketAttributes structure of the n'th server bucket.
AuClientOfID(server, resource)
Extracts the ClientID from resource.
AuID AuAllocID(server)
Invokes the ID allocator function.
Description
The AuServer structure describes the connection to the audio server.
See Also
AuCloseServer.
audiolib - Network Audio System C Language Interface
audiolib - 1.9.3 AuServer(3)