Do I need to configure my local windows to FTP files from local windows to a UNIX AIX server?


 
Thread Tools Search this Thread
Operating Systems AIX Do I need to configure my local windows to FTP files from local windows to a UNIX AIX server?
# 1  
Old 08-19-2010
Do I need to configure my local windows to FTP files from local windows to a UNIX AIX server?

Hi Friends,


I have this script for ftping files from AIX server to local windows xp.
Code:
#!/bin/sh
HOST='localsystem.net'
USER='myid_onlocal'
PASSWD='mypwd_onlocal'
FILE='file.txt'  ##This  is a file on server(AIX)

ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE
quit
END_SCRIPT

.........................................................................................
The above script is run on AIX server to FTP files from AIX server to local system with windows xp.
My AIX server doesnot recognise the HOST.
If I ping the IP address(52.234.13.33) corresponding to HOST, the AIX server get response from this IP.
But if I use FTP 52.234.13.33 from AIX server, I get error.
Error is:
Code:
ftp: connect: A remote host did not respond within the timeout period.


I would like to know what am I missing in the script.
Why is AIX server is not able get response from the local system(windows xp) ?
OR Do I need to configure my local system with the help of
admin....to be able to ftp files from UNIX AIX server to it ?



Any help is this regards is appreciated ...

Thanks a lot friends..
raj.

Moderator's Comments:
Mod Comment added some CODE-tags. Please use them yourself when posting code or terminal output. Thank you.

Last edited by bakunin; 08-24-2010 at 12:09 PM..
# 2  
Old 08-19-2010
It seems like the FTP server is not running on the XP system, can you FTP by command line instead of the script to test it?

XP does not have an FTP server configured by default, please post on an XP forum if you need assistance with the XP ftp server configuration.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

FTP-ing files from Windows server to UNIX server

I need to transfer files from a Windows server to the Unix server and have to run some shell script on it to get the required output. Is it possible to transfer files from Windows server to unix server through any shell script? If so can you please help me with the details. Thanks in... (8 Replies)
Discussion started by: ssk250
8 Replies

2. UNIX for Dummies Questions & Answers

Copy files from Linux server local windows machine using a shell script

Hello, I need to create a shell script which will copy files - which are created on particular date and starting with particular name - to local windows XP machine. Is this possible.? Currently it is being done manually using winscp (1 Reply)
Discussion started by: NarayanaPrakash
1 Replies

3. IP Networking

How to transfer files from UNIX server to windows machine or vice versa using ftp or sftp commands?

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

4. Shell Programming and Scripting

Unix shell script to Copy files from one Windows server to another Windows server.

Can anybody please help me on how to code for the below requirement: I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies

5. Shell Programming and Scripting

ftp files from local sys to unix server

Hi All, can anybody explain me how to ftp files from local system to unix server using Shell scripting without using any softwares. i have developed some code but its not wrking. lclpath=/dba58/d039/ftppubd/ajay echo $lclpath cd $lclpath user='rajesh' pswd='rajesh' host="3.209.136.253"... (5 Replies)
Discussion started by: rajesh_pola
5 Replies

6. UNIX for Advanced & Expert Users

FTP from unix to windows local PC

Team, I want to FTP a file from unix to windows. $ ftp <GBRPLM-local machine name> ftp : Unknown host GBRPLMW0D0AE98 I want to do this thru a shell script - please advise any alternative solutions. I can able to do this via command prompt want to add this in the script so. ... (2 Replies)
Discussion started by: Sampath.Rachcha
2 Replies

7. Shell Programming and Scripting

shell script to ftp the files from windows to unix server

Hi, I need to ftp some input files from windows to unix server.All the files will be saved in the C drive in my machine. Currently all these files are transferring manually to the unix server.I need to write a shell script which ftp the files from windows to unix box.When I searched in the... (10 Replies)
Discussion started by: kavithakuttyk
10 Replies

8. Shell Programming and Scripting

how to FTP a file from the local folder to unix server

Hi All, please help me to write a shell that ftp a file which is in the local (C:\) drive to a Unix server. Where as i know the IP for the Unix server. i could do this process by using ftp command. pls help me to write as Shell script. Thanks in advance for all of your answers.:b::b: (3 Replies)
Discussion started by: little_wonder
3 Replies

9. Shell Programming and Scripting

FTP multiple files from remote server to local server

Hi, I am facing a weired problem in my FTP script. I want to transfer multiple files from remote server to local server everyday, using mget * in my script. I also, want to send an email for successful or failed FTP. My script works for file transfer, but it don't send any mail. There is... (2 Replies)
Discussion started by: berlin_germany
2 Replies

10. UNIX for Dummies Questions & Answers

Transfer files from Unix server to Windows using FTP

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
Login or Register to Ask a Question