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.

You need samba... (or MS ftp client..)
if installed, then look at the man pages of smbget,
alternatively you could look at wget

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 :smiley: