12-18-2006
Please use the Search function of the forum, there are more than 10 variations of such script.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
1)In this script mput command is not working( not transfering multiple files, it is able to send single file)
2)here is the script to automate the ftp process .
3)for transfering files from one machine to other machine using ftp
can anyone can give me the solution in this issue
Script is... (6 Replies)
Discussion started by: gsri
6 Replies
2. Cybersecurity
Hi,
I'm getting the following error while trying to use the ftp command.
----------------
331 Password required for prodofsa.
Password:
230 User prodofsa logged in.
ftp>
ftp>
ftp>
ftp> ls
200 PORT command successful.
425 Can't build data connection: Connection timed out.
ftp>... (10 Replies)
Discussion started by: ronald_brayan
10 Replies
3. Shell Programming and Scripting
Hi All,
I have writtern a shell script which has a sql query. I want to send the results of sql query to a shared area over a network.I also want to log the errors in a log file if the text file is not sent to shared area.
The results of sql query are spooled in TEMPFILE.
LOGFILE... (1 Reply)
Discussion started by: nsachin
1 Replies
4. UNIX for Advanced & Expert Users
Hi All,
can some one please help me to solve this issue, its urgent:confused:
We need to FTP a file form our Unix server to an external client FTP location.
I am trying to connect to the proxy server first and then use the below USER comment to connect to the external FTP server, and its working... (3 Replies)
Discussion started by: JesusJoseph
3 Replies
5. Linux
Dear all,
I am totally despaired and puzzled.
Using Filezilla under Windows under the same network as our Linux servers is working. Using FTP command-line client under any of our Linux debian servers is not working ! I tried with different FTP servers -> same problem !
All commands are... (12 Replies)
Discussion started by: magix_ch
12 Replies
6. Shell Programming and Scripting
Hello everyone,
sorry for the title, most of you must getting sick of reading something like
this, but I haven't found a solution, although I found many threads according
to it.
I'm working on a bash script that connects to a network printer with ftp
where I want to upload a pdf created... (3 Replies)
Discussion started by: le_mae
3 Replies
7. Shell Programming and Scripting
Hi Gurus,
I prepared a script to process some files and then ftp the output file to mainframe directory. Here is the code snippet for the same.
# Perform FTP
echo "put $TGT_DR/$K.$F.$I.$K1.$RUN_TYPE '$K.$F.$I.$K1.$RUN_TYPE'" >> $LogFile
ftp -i -n <<EOF >> $LogFile
open... (2 Replies)
Discussion started by: svajhala
2 Replies
8. Shell Programming and Scripting
hi,
Im using the following code for FTP
#!/usr/bin/ksh
ftp -v -n "10.29.45.11" << cmd
user "mahesva" "mahesva123"
get rtl.tar
quit
cmd
Below is the log when i run the above code
**********************************
Connected to 10.29.45.11.
220 (vsFTPd 2.0.1)
530 Please login with USER... (20 Replies)
Discussion started by: dll_fpga
20 Replies
9. Shell Programming and Scripting
Hi ,
Hi ,
seems in my code '\' is ignoring in user id and considering DB_SVCGPRUAT as a ID and failing to connect to the FTP server. my complete ID 'BD\SVCGPRUAT', how to rectify this error.
#!/bin/bash
myuser='"BD\_SVCGPRUAT" { BD is domain }
mypass='Welcome$123'... (4 Replies)
Discussion started by: Riverstone
4 Replies
10. Shell Programming and Scripting
Hi,
I have one FTP script which simply sends the file to target server via netrc.it used to work as normal for years.recently target server IP got changed , same has been updated in .netrc but unable to connect it via FTP though netwrk guys already opened the port 21,20 and 22 .
NETRC... (7 Replies)
Discussion started by: Riverstone
7 Replies
LEARN ABOUT DEBIAN
mdraw_text
mdraw_text(3m17n) The m17n Library mdraw_text(3m17n)
NAME
mdraw_text - Draw an M-text on a window.
SYNOPSIS
int mdraw_text (MFrame * frame, MDrawWindow win, int x, int y, MText * mt, int from, int to)
DESCRIPTION
Draw an M-text on a window. The mdraw_text() function draws the text between from and to of M-text mt on window win of frame frame at
coordinate (x, y).
The appearance of the text (size, style, color, etc) is specified by the value of the text property whose key is Mface. If the M-text or a
part of the M-text does not have such a text property, the default face of frame is used.
The font used to draw a character in the M-text is selected from the value of the fontset property of a face by the following algorithm:
1. Search the text properties given to the character for the one whose key is Mcharset; its value should be either a symbol specifying a
charset or Mnil. If the value is Mnil, proceed to the next step.
Otherwise, search the mapping table of the fontset for the charset. If no entry is found proceed to the next step.
If an entry is found, use one of the fonts in the entry that has a glyph for the character and that matches best with the face properties.
If no such font exists, proceed to the next step.
2. Get the character property 'script' of the character. If it is inherited, get the script property from the previous characters. If
there is no previous character, or none of them has the script property other than inherited, proceed to the next step.
Search the text properties given to the character for the one whose key is Mlanguage; its value should be either a symbol specifying a
language or Mnil.
Search the mapping table of the fontset for the combination of the script and language. If no entry is found, proceed to the next step.
If an entry is found, use one of the fonts in the entry that has a glyph for the character and that matches best with the face properties.
If no such font exists, proceed to the next step.
3. Search the fall-back table of the fontset for a font that has a glyph of the character. If such a font is found, use that font.
If no font is found by the algorithm above, this function draws an empty box for the character.
This function draws only the glyph foreground. To specify the background color, use mdraw_image_text() or mdraw_text_with_control().
This function is the counterpart of XDrawString(), XmbDrawString(), and XwcDrawString() functions in the X Window System.
RETURN VALUE
If the operation was successful, mdraw_text() returns 0. If an error is detected, it returns -1 and assigns an error code to the
external variable merror_code.
ERRORS
MERROR_RANGE
SEE ALSO
mdraw_image_text()
COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License
<http://www.gnu.org/licenses/fdl.html>.
Version 1.6.2 12 Jan 2011 mdraw_text(3m17n)