FTP from unix to windows local PC


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users FTP from unix to windows local PC
# 1  
Old 11-04-2010
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.

thanks
sampath.
# 2  
Old 11-04-2010
You need samba... (or MS ftp client..)
if installed, then look at the man pages of smbget,
alternatively you could look at wget
# 3  
Old 11-04-2010
Some solutions other than samba :

You can connect to the windows machine and use filezilla or winscp to connect to your unix machine and get the file from the unix machine to you windows one.

You can also do that from unix, but requires an FTP server runs on the windows machines so you can connect to it and push the file (assuming the network is configured to let you come in, and that you have an user account to connect to that server)

If you have an easy access to both of the server : USB key Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to transfer file from Local PC to UNIX Directory without FTP?

Dear All, i am trying to get the file from windows location to unix location without using FTP and neither thru entering the user id and password. I have one unix form which is running on web application and user is entering the location and file name there now i know the file name and path. So i... (8 Replies)
Discussion started by: ripudaman.singh
8 Replies

2. Shell Programming and Scripting

FTP from windows to unix server using unix shell script

Hi, Is it possible to ftp a huge zip file from windows to unix server using unix shell scripting? If so what command i need to use. thanks in advance. (1 Reply)
Discussion started by: Shri123
1 Replies

3. Shell Programming and Scripting

UNIX script to FTP file from UNIX server to windows

Hi, I am new to this subject.....Can someone please help me out with the script... unix usernm "sdhftst" unix pwd "chsd13" windows usernm "dfghtst" windows pwd "chsd13" path..../xxx/xxxxx/xxxxxx/xxxxxxx please can u get me a script...its only one file to get ftp. Thanks... (2 Replies)
Discussion started by: himakiran9
2 Replies

4. 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

5. UNIX for Dummies Questions & Answers

How to transfer file from Local PC to Unix Directory without FTP!!!

Dear Friends, How to transfer files from my local PC to Unix directory without using FTP. Scenario: Transfer/Upload a file from PC to unix using web browser without using FTP technologies. I heard something like sendunix and sendpc used to transfer files from unix to Desktop and... (1 Reply)
Discussion started by: kk_c2il2
1 Replies

6. AIX

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. #!/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... (1 Reply)
Discussion started by: rajsharma
1 Replies

7. 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

8. Shell Programming and Scripting

ftp from windows to unix using a perl script on unix machine

i need to ftp a file from windows to a unix machine by executing a sript(perl/shell/php) from that unix machine.i can also use HTML and javascript to build forms. (3 Replies)
Discussion started by: raksha.s
3 Replies

9. Shell Programming and Scripting

How i ftp a unix file to my local window

Hello Sir/ Madam, i m new user in unix shell scripting.Please guide me to crack this problem. Thanking you. (1 Reply)
Discussion started by: Nirmal
1 Replies

10. UNIX for Dummies Questions & Answers

FTP from windows to unix

Hi all, How to FTP an excel format file located in windows to unix using shell script.Any particular commands we have to use? Thanks& Regards, rrs (4 Replies)
Discussion started by: rrs
4 Replies
Login or Register to Ask a Question