Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Automate FTP....: (5 Items)
   
Automate FTP....  
Hi... I need to make an ftp transfer everyday, let say at 11 pm, I think I can make it woth cron, but how can I make the
 script to do that ? I thanks in advance for any help. Victor.
Re: Automate FTP....  
On Thu, Sep 29, 2011 at 01:23:33PM -0400, Victor Gamboa wrote:
> Hi... I need to make an ftp transfer everyday, let say at 11 pm, I think I can make it woth cron, but how can I make 
the script to do that ? I thanks in advance for any help. Victor.

Is this really qnx4?

-seanb
Re: Automate FTP....  
Yes, I need to do it over QNX 4.....
Re: Automate FTP....  
On Thu, Sep 29, 2011 at 01:35:22PM -0400, Victor Gamboa wrote:
> Yes, I need to do it over QNX 4.....

Then I think you're restricted to HERE document style:


#! /bin/sh

ftp -n <<HERE
open <host>
user <user> <passwd>
cd /dst
lcd /src
put srcfile dstfile
HERE
Re: Automate FTP....  
Hi guys,

Also QNX4 ftp utility can execute automatic actions based on .netrc 
configuration file. Please, have a look at the TCP/IP ftp documentation.

-- 
Respectfully,
Oleg

> On Thu, Sep 29, 2011 at 01:35:22PM -0400, Victor Gamboa wrote:
> > Yes, I need to do it over QNX 4.....
> 
> Then I think you're restricted to HERE document style:
> 
> 
> #! /bin/sh
> 
> ftp -n <<HERE
> open <host>
> user <user> <passwd>
> cd /dst
> lcd /src
> put srcfile dstfile
> HERE
> 
> 
> 
> _______________________________________________
> 
> QNX4 Community Support
> http://community.qnx.com/sf/go/post89164
>