[Tfug] question

Paul Lemmons paul at lemmons.name
Wed May 13 14:50:57 MST 2009


-------- Original Message  --------
Subject: Re:[Tfug] question
From: Paul Lemmons <paul at lemmons.name>
To: Tucson Free Unix Group <tfug at tfug.org>
Date: 05/13/2009 09:10 AM
> -------- Original Message  --------
> Subject: [Tfug] question
> From: doug1 at email.arizona.edu
> To: tfug at tfug.org
> Date: 05/13/2009 08:56 AM
>> Hi,
>>  I dont know if this is the correct forum for this problem, I have a 
>> windows
>> 2000 server box that generates excel files every friday. The excel 
>> files have
>> to be moved to a unix computer they are on the same network(i.e the U 
>> of AZ) is
>> their anyway to automate this process?
>>
>>
>> _______________________________________________
>> Tucson Free Unix Group - tfug at tfug.org
>> Subscription Options:
>> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>>
>>   
> Yes, there are lots of ways. There are two that are more obvious than 
> others though.  If you want to push the files from your Windows server 
> write a little batch file to ftp it to the destination server and 
> scheduled it with the Windows scheduler. If you want to pull it from 
> the Unix box, install ftp on your Windows server and then write a 
> small script on the Unix box to go fetch it via ftp and schedule it 
> with cron.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>   
If you are doing it from Windows and ftp is an option the batch file 
would look something like:

@echo off

echo open myhost    >%TEMP%\ftpdata
echo user myuserid >>%TEMP%\ftpdata
echo MyPass        >>%TEMP%\ftpdata
echo bin           >>%TEMP%\ftpdata
echo cd myDir      >>%TEMP%\ftpdata
echo put myfile    >>%TEMP%\ftpdata
echo quit          >>%TEMP%\ftpdata
ftp -n -s:%TEMP%\ftpdata
erase %TEMP%\ftpdata



-- 
Sometimes I wonder.  Were our faith able to stand upright and look around, would it be looking down at the mustard seed or standing in awe of the height and breadth of it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3296 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://tfug.org/pipermail/tfug_tfug.org/attachments/20090513/ff7f3801/attachment-0002.bin>


More information about the tfug mailing list