09-27-2002
No way to do this without a shell script but rather on a single command line ?
Thanks a lot
JR
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm using IBM AIX 5.2 to send file with ftp to other unix machine.
The command is into a shell:
...
ftp -n > outFtp 2> errFtp <<PARAM
open $2
user $3 $4
put $1 $remote
bye
PARAM
...
then i look at the size of errFtp and outFtp to see if there are some error message.... (4 Replies)
Discussion started by: gggarb
4 Replies
2. Shell Programming and Scripting
Hi guys...
I'm working on #!/bin/sh script in a Solaris 7 box that should send several files over to another machine via FTP. Here's what the script looks like:
# This script will send the daily MSP customer counts
# to the Crystal Reports server located at 192.168.2.106
cd... (2 Replies)
Discussion started by: cdunavent
2 Replies
3. 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
4. Shell Programming and Scripting
I've written a script to FTP files into a directory, perform a diff between the current and the previous and email out the results. Sometimes a machine falls off the network and needs to be rebooted to reconnect. Obviously I don't get the file I want at that time. How do I get the FTP error to... (0 Replies)
Discussion started by: scanner248
0 Replies
5. UNIX for Dummies Questions & Answers
I've written a script to FTP files into a directory, perform a diff between the current and the previous and email out the results. Sometimes a machine falls off the network and needs to be rebooted to reconnect. Obviously I don't get the file I want at that time. How do I get the FTP error to be... (1 Reply)
Discussion started by: scanner248
1 Replies
6. Shell Programming and Scripting
Hi,
I have a problem with sending files to ftp using proxy.
When using this script:
#!/bin/bash
DIR=/dane_wz
ftp -n -v 172.30.100.13 << EOF
quote USER xxx@172.25.240.45
quote PASS xxxx
passive
cd $DIR
quit
EOFit works fine and I get connection with FTP server, but using the same in a... (2 Replies)
Discussion started by: vrolok
2 Replies
7. Shell Programming and Scripting
Hello to all in forum
I hope you can help me.
I want to send via FTP to a linux server the 2 kind of files that are in the same folder, as follow:
1- Send all files that are named verified.SomeString.zz.pttp to path /var/verified
2- Send all files where the name begins with verified.conf... (3 Replies)
Discussion started by: Ophiuchus
3 Replies
8. Shell Programming and Scripting
Hi there, I'm new to shell scripting and need some help if possible?
I need to create a shell script (.sh) to run as a cron job on an ubuntu linux server to connect to an external sftp sites directory using credentials (which I have) and then download to our internal ftp server and then copy... (3 Replies)
Discussion started by: ghath
3 Replies
9. Shell Programming and Scripting
I need to perform a transfer of many files by FTP, including folders and subfolders is how I do it? Is there a command that needs to perform in FTP? What would be the right routine for this? Thank you. (2 Replies)
Discussion started by: c0i0t3
2 Replies
10. Shell Programming and Scripting
I am using below code to send files into ascii mode.what changes will I have to do to send files into Binary mode ?
ftp -in <<FIN
open $SAP_UP_SERVER
user $SAP_UP_USER $SAP_UP_PASSWORD
asc
put $PM00_OUTPUTS_DIRECTORY/$SAP_UP_FILE_CSV /SAP_UP_FILE_CSV
quit
FIN (1 Reply)
Discussion started by: Nitin Varshneya
1 Replies