FTP using script not working (for transfering file from a remote unix server to windows PC.)


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting FTP using script not working (for transfering file from a remote unix server to windows PC.)
# 8  
Old 07-09-2012
Are you running this from windows PC or from the unix box?

If from unix box, why are u using get? Smilie
This User Gave Thanks to PikK45 For This Post:
# 9  
Old 07-09-2012
hi PKK,
instead of get ...what to use instead.Please help
im actually logging to a unix pc using vnc applicaton...
# 10  
Old 07-09-2012
Scenario - Copy a file from UNIX to Windows and Script running from UNIX
command - put

Scenario - Copy file from UNIX to Windows and Script running from windows
command - get
# 11  
Old 07-09-2012
hi pkk,
im using get as i need to get some files from unix to windows...
script is actually running on the unix machine using a vnc application which is installed in my windows OS
# 12  
Old 07-09-2012
Since the script is running on a unix machine (considering the source file is available in it), your action should be putting that file from UNIX to Windows.

Hope this helps.
# 13  
Old 07-09-2012
hi pkk,
i have used put instead of get ...still the file is not coming to windows..

pls see the below log

++++++++++++++++++++++++++

Connected to 10.29.45.11.
220 (vsFTPd 2.0.1)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
331 Please specify the password.
230 Login successful.
local: rtl.tar remote: rtl.tar
227 Entering Passive Mode (10,29,45,11,45,165)
150 Ok to send data.
226 File receive OK.
45698 bytes sent in 0.0018 seconds (2.4e+04 Kbytes/s)
221 Goodbye.
++++++++++++++++++++++++++++++++++++=

please help me troubleshoot
# 14  
Old 07-09-2012
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

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

2. Shell Programming and Scripting

Need help for ftp a file from unix to windows server

I have a problem with ftp. i want to ftp a file "file.txt" from unix box to windows server. The destination folder is something like this: "\\windowsservername\apps\is\" FTPUSER=ftp1 FTPPASS=**** ftp -v -d -n > ftplog <<!EOF open windowsservername user $FTPUSER $FTPASS cd... (3 Replies)
Discussion started by: Diddy
3 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

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

5. Linux

vsftp is not working only when i ftp from windows server

Hello Gurus, Naif is implemented for only for port 21 for few windows servers. I have made my linux 5.1 as my FTP server. After installing vsftpd i could ftp from other linux server. linux to linux (ftp server) But same when i ftp from other windows server which only port 21 is enabled.... (2 Replies)
Discussion started by: bullz26
2 Replies

6. Solaris

vsftp is not working only when i ftp from windows server

Hello Gurus, Naif is implemented for only for port 21 for few windows servers. I have made my linux 5.1 as my FTP server. After installing vsftpd i could ftp from other linux server. linux to linux (ftp server) But same when i ftp from other windows server which only port 21 is enabled.... (0 Replies)
Discussion started by: bullz26
0 Replies

7. UNIX for Dummies Questions & Answers

Remote Access to FTP server not working

I am trying to setup an FTP server in a Fedora Core 3 machine through the command line interface and not KDE. I think I am successful in getting the ftp service running, as when I do an ftp 127.0.0.1, I am able to log in using any one the user accounts I have created on this machine and browse... (8 Replies)
Discussion started by: cooljumbo2k8
8 Replies

8. IP Networking

Transfering file from unix server to a windows pc

Is there a way to transfer files from unix server to windows directory,other than ftp? (1 Reply)
Discussion started by: Preet
1 Replies
Login or Register to Ask a Question