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.)
# 15  
Old 07-09-2012
As another poster suggests, take a look at your ftp account on the Windows box and find out where that account's ftp home directory resides. That is where you will find your file if it was transferred successfully.

When mentioning Operating Systems, please be specific. "Windows" and "unix" is just too vague. Also the ftp responses you post don't look like they came from a Microsoft product.
This User Gave Thanks to methyl For This Post:
# 16  
Old 07-09-2012
hi methyl,
Please give me the command for getting this...
# 17  
Old 07-09-2012
In you ftp logs the server which is answering has 220 (vsFTPd 2.0.1). Afaik this is a Linux product.
Are you sure that you are connecting to the right computer and not say looping back to yourself?
# 18  
Old 07-09-2012
hi methyl,
Im using a vnc application in windows to connect to a unix server at my work place...
i need to take some file in the remote PC to my windows system using FTP function...
im running this script in the unix machine where my file reside...
please help me ...maybe i need some change in the script.
# 19  
Old 07-09-2012
On the "unix" system, please post:
Code:
uname -a

(Blotting anything confidential like machine names with X's).

On the "Windows" PC, please post the version. e.g. Microsoft Windows XP Professsional SP3.
There are several ways of doing this, but the easiest is to start "My Computer" and look at the help/about tab.

Do you know what VNC software you are running? That might have a built-in file transfer feature.

Do you know what FTP Server software you are running on your PC?
# 20  
Old 07-09-2012
hi methyl,

remote server OS is
Code:
 > uname -a
Linux wt-nec2 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux

windows 7 is my OS...vnc is installed in it...im getting an output report when i run some scripts and that output ...i need to FTP to my local system(windows 7)...so i added this script to my exisiting script...but not working...


Quote:
Originally Posted by methyl
On the "unix" system, please post:
Code:
uname -a

(Blotting anything confidential like machine names with X's).

On the "Windows" PC, please post the version. e.g. Microsoft Windows XP Professsional SP3.
There are several ways of doing this, but the easiest is to start "My Computer" and look at the help/about tab.

Do you know what VNC software you are running? That might have a built-in file transfer feature.

Do you know what FTP Server software you are running on your PC?
# 21  
Old 07-09-2012
Are you the Administrator of the Windows 7 PC?
Can you find out the IP address of the PC and whether it has FTP Server software installed and whether it is Microsoft FTP Server or some other product?
If this is a corporate PC, you will need someone with Administration rights to do this check. Also, many companies do not allow ftp.
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