11-14-2005
ftp file from Windows to Unix automatically
Hi,
Is there a way to ftp file from windows to Unix directory by using crontab to set up a job ?
Thanks!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have created get_list.bat file containing following line:
dir /B /O-d >file_list.txt
I am executing ftp command from Unix box and transferring get_list.bat file to windows server.
In my next ftp command I am trying to execute this test.bat file by entering this line:
get_list
or by... (9 Replies)
Discussion started by: alx
9 Replies
2. Shell Programming and Scripting
Hi
I'm new working in UNIX, So, I want to know How I can send a file from UNIX to Windows server with FTP. This is my script.
ftp -i -n -v <<**
open 199.99.99.99
user user1 password1
lcd C01_07_06 /* source/
cd //199.98.98.98/group1/reports /*destination*/
put file1.sh ... (1 Reply)
Discussion started by: edzela
1 Replies
3. Shell Programming and Scripting
I need your help for a FTP Job to be schedule to copy files from windows to Unix.
in a set of time interval.
My requirement is as follows.
1.Script should check whether file is available in the windows folder ,
if available then do FTP to unix server , and then move... (3 Replies)
Discussion started by: sandeep.kamble
3 Replies
4. Shell Programming and Scripting
I run an application that creates a hostname_log.txt file on the c:\ of each windows workstation.
At the end of each day, these log files are FTP'd to a directory on a UNIX box.
When I run "ls -lrt", the timestamp that is displayed is the timestamp that the FTP occured, not the timestamp... (2 Replies)
Discussion started by: gavman99
2 Replies
5. Shell Programming and Scripting
Hi,
I have a ftp script to ftp files from unix to windows. Now i need to pull the latest file from unix to windows. It is not working.
ftp -nvi $SERVER > ${FILE_DIR}/NavigationftpLog << EOD
user $USER $PWD
lcd $FILE_DIR
echo "the local directory is $FILE_DIR"
cd $Remote_PATH
echo... (2 Replies)
Discussion started by: ammu
2 Replies
6. Shell Programming and Scripting
Hi all,
I have a file in windows, example
a.txt
****
aaa
bbb
ccc
<empty line>
when i transfer this file to unix using ftp, and viewed the file
# vi a.txt
aaa
bbb
ccc
#
I dont get the empty line which i specified in that file in windows.
Please help me, which in unix... (5 Replies)
Discussion started by: Nandagopal
5 Replies
7. Shell Programming and Scripting
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
8. Shell Programming and Scripting
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
9. Shell Programming and Scripting
Hi all..
Please help me on below requirement.
I have an excel file ftped from windows to unix location. I am not able to open the file. if i am opening it in vi editor, i am getting only junk characters. I have to make the excel file as .csv file and read the data to put some business... (3 Replies)
Discussion started by: gani_85
3 Replies
10. Shell Programming and Scripting
Hi,
Could someone suggest me how to FTP a xlsx file from unix to windows.
I can able to transfer xls file from unix to windows successfully. But if i transfer the xlsx file im not able to open, it through error like "The file format or file extension is not valid"
Thanks
Rathna (4 Replies)
Discussion started by: Rathnakumar
4 Replies
LEARN ABOUT DEBIAN
bup-ftp
bup-ftp(1) General Commands Manual bup-ftp(1)
NAME
bup-ftp - ftp-like client for navigating bup repositories
SYNOPSIS
bup ftp
DESCRIPTION
bup ftp is a command-line tool for navigating bup repositories. It has commands similar to the Unix ftp(1) command. The file hierarchy is
the same as that shown by bup-fuse(1) and bup-ls(1).
Note: if your system has the python-readline library installed, you can use the <tab> key to complete filenames while navigating your
backup data. This will save you a lot of typing.
COMMANDS
The following commands are available inside bup ftp:
ls [-s] [-a] [path]
print the contents of a directory. If no path argument is given, the current directory's contents are listed. If -a is given, also
include hidden files (files which start with a . character). If -s is given, each file is displayed with its hash from the bup ar-
chive to its left.
cd dirname
change to a different working directory
pwd print the path of the current working directory
cat filenames...
print the contents of one or more files to stdout
get filename localname
download the contents of filename and save it to disk as localname. If localname is omitted, uses filename as the local name.
mget filenames...
download the contents of the given filenames and stores them to disk under the same names. The filenames may contain Unix filename
globs (*, ?, etc.)
help print a list of available commands
quit exit the bup ftp client
EXAMPLE
$ bup ftp
bup> ls
mybackup/ yourbackup/
bup> cd mybackup/
bup> ls
2010-02-05-185507@ 2010-02-05-185508@ latest@
bup> cd latest/
bup> ls
(...etc...)
bup> get myfile
Saving 'myfile'
bup> quit
SEE ALSO
bup-fuse(1), bup-ls(1), bup-save(1), bup-restore(1)
BUP
Part of the bup(1) suite.
AUTHORS
Avery Pennarun <apenwarr@gmail.com>.
Bup unknown- bup-ftp(1)