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 forum i got the below mentioned script to ftp the files.It works fine when i
ftp the files from one unix server to another unix server.But it is not working when i tried from Windows to unix .I am getting the below mentioned error message.can anybody help me on this?
ERROR MESSAGE
-------------------
Last edited by Franklin52; 10-08-2009 at 04:50 AM..
Reason: Please use code tags!
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)
Hello All,
I've to write a shell script to transfer some files to/from windows server.
I can put & get files simply by doing ftp but need to automate this.
So I tried for this -.
HOST=.hostname
USER='username'
PASSWD='***'
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS... (8 Replies)
Hi,
Please advice whether my below requirement is feasible,
My requirement : Automated FTP from linux server to windows server using a shell script on every monday.
If feasible, please help me how to do this ?
Thanks in advance (2 Replies)
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 forum i... (1 Reply)
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)
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)
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)
Hi experts,
can anyone suggest me on the below:
how to write a shell script to search and delete files on windows server.
-script runs on unix box
-it should search for specific files on windows server and delete them periodically. (2 Replies)
Need Shell Script to copy files from hp unix to windows server 2008
I tried to google and found some options but nothing worked
I want a script to copy a file in unix to windows server so I can schedule the script on daily basis.Please help me its more needful for me.
Let me know if any... (4 Replies)
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
LEARN ABOUT DEBIAN
simpleftp
SIMPLEFTP(1) InterNetNews Documentation SIMPLEFTP(1)NAME
simpleftp - Rudimentary FTP client
SYNOPSIS
simpleftp url [...]
DESCRIPTION
simpleftp is a Perl script that provides basic support for fetching files with FTP in a batch oriented fashion. It takes one or more FTP
URLs on the command line. The file(s) will be retrieved from the remote server and placed in the current directory with the same basename
as on the remote; e.g., <ftp://ftp.isc.org/pub/usenet/CONFIG/active.gz> is stored as active.gz in the current directory.
The script properly understands usernames, passwords and ports specified as follows:
ftp://user:password@host:port/path/file
BUGS
simpleftp is an extremely poor substitute for more complete programs like the freely available wget or ncftp utilities. It was written
only to provide elementary support in INN for non-interactive fetching of the files in <ftp://ftp.isc.org/pub/pgpcontrol/> or
<ftp://ftp.isc.org/pub/usenet/CONFIG/> without requiring administrators to install yet another package. Its shortcomings as a general
purpose program are too numerous to mention, but one that stands out is that downloaded files by simpleftp override existing files with the
same name in the local directory.
HISTORY
Tossed off by David C Lawrence <tale@isc.org> for InterNetNews. Rewritten to use "Net::FTP" by Julien Elie.
$Id: simpleftp.pod 8357 2009-02-27 17:56:00Z iulius $
SEE ALSO actsync(8).
INN 2.5.2 2009-05-21 SIMPLEFTP(1)