Operating System - HP-UX
1829879 Members
2503 Online
109993 Solutions
New Discussion

Look for a script upload .txt files from remote sites (PC) to a rp5470 server

 
ajk_5
Frequent Advisor

Re: Look for a script upload .txt files from remote sites (PC) to a rp5470 server

By the way, If I can't use ftp, can I use "rcp" download files from PC to Unix server instead of ftp? If so, what do I need to prepare for that? Thanks!



Best Regards
Ajk
Hoefnix
Honored Contributor

Re: Look for a script upload .txt files from remote sites (PC) to a rp5470 server

There are some tools that you can use on the PC's. Also ftp-servers are available for Windows PC's.

Also have a look at Windows services for UNIX: http://www.microsoft.com/windows/sfu/default.asp

Regards,
Peter
ajk_5
Frequent Advisor

Re: Look for a script upload .txt files from remote sites (PC) to a rp5470 server

Hi there,

The Windows services for UNIX is so complicated. Any procedure to follow??
Thanks.



Best Regards
Ajk
ajk_5
Frequent Advisor

Re: Look for a script upload .txt files from remote sites (PC) to a rp5470 server

Hi there,

I did add a ftp server in the PC workstation, could you please comment the script and the following log message? Thank you.


for IP in `cat /home/isdlun/ipfile`
do
ftp -n -v >> 'ftp.log' 2>> 'ftp.log' <open $IP
user isajk isajkpass
cd \test
prompt
mget *.txt
quit
EOF
done


ipfile:
10.2.23.33


Connected to 10.2.23.33.
220 cpu0659 Microsoft FTP Service (Version 5.0).
331 Password required for isajk.
530 User isajk cannot log in.
Login failed.
530 Please login with USER and PASS.
Interactive mode off.
Please login with USER and PASS.
can't find list of remote files: No such file or directory
221