Hi All,
I am trying to upload a text file from HP unix to Windows tectia server using sftp, the text file shows with new line character after upload.
For EG : abc.txt file contains
123
456
aftre upload it shows as
123 456
i am using sftp version 2.0
TQ, (4 Replies)
Hi Experts ,
I am new to unix programming please tell me how to write expect and hoe to call it for automated file upload process.
help me really ! (0 Replies)
Hi All,
I want to upload file through SFTP in non interactive mode
on remote server. please tell me what will have to do in oreder to do SFTP . (1 Reply)
Hi List,
I have set up a chrooted SFTP setup following the instructions I found on tech republic:
/blog/opensource/chroot-users-with-openssh-an-easier-way-to-confine-users-to-their-home-directories/229
I have successfully got it all working and I can download files when logged in via sftp... (0 Replies)
Hi Experts,
Please help me to write the expect script for uploading multiple files in one shot . Below is my program that I have written.
#!/usr/local/bin/expect -f #/home/kulbhushan/sftp_prog.sh
# procedure to attempt connecting; result 0 if OK, 1 otherwise
proc connect {passw} {
expect... (1 Reply)
I am attempting to utilize an expect script (that is called from a parent bash script) to perform a file transfer over sftp.
The script works except I cannot catch timeouts. I need to be able to tell in the parent bash script when the expect script has timed out, or completed successfully.
It... (3 Replies)
Hi,
I've a CentOS Server and I need to create KVM guest machine without X.
/usr/sbin/virt-install --name server1 --ram 4000 --vcpus=8 --file=/srv/virtual/server1.img --file-size=20 --cdrom /tmp/server1.iso --mac=52:54:00:fd:48:7c
The iso was created with cobbler...
So, now the machine is... (5 Replies)
Xperts,
My requirement is something like this,
I have a sql script which i need to embed in a shell. The sql (oracle) script will generate a .csv file in some Unix directory. the approximate file size is around 10 mb which i need to upload to an sftp server. My concern here is how to make... (5 Replies)
Hi,
1. I have installed Sound and media player for Centos 'Software Package Installer'.
2. I plugged my headphone in system
3. I am not able to hear sound .
Headphone is working on windows machine.
NOTE : Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio... (5 Replies)
Hi,
Below script is running on AIX 7.1 ( 7100-04-05-1720 version ) server. Recently OpenSSH version installed on server got updated from OpenSSH_6.0p1 to OpenSSH_7.5p1 version. After this update we do not receive any file upload message after put/mput command in SFTP.
sftp -b - user@server... (1 Reply)
Discussion started by: Juggernaut
1 Replies
LEARN ABOUT DEBIAN
cbcodec
CBCODEC(1) Quick Database Manager CBCODEC(1)NAME
cbcodec - popular encoders and decoders
SYNOPSIS
cbcodec url [-d] [-br] [-rs base target] [-l] [-e expr] [file]
cbcodec base [-d] [-l] [-c num] [-e expr] [file]
cbcodec quote [-d] [-l] [-c num] [-e expr] [file]
cbcodec mime [-d] [-hd] [-bd] [-part num] [-l] [-ec code] [-qp] [-dc] [-e expr] [file]
cbcodec csv [-d] [-t] [-l] [-e expr] [-html] [file]
cbcodec xml [-d] [-p] [-l] [-e expr] [-tsv] [file]
cbcodec zlib [-d] [-gz] [-crc] [file]
cbcodec lzo [-d] [file]
cbcodec bzip [-d] [file]
cbcodec iconv [-ic code] [-oc code] [-ol ltype] [-cn] [-wc] [-um] [file]
cbcodec date [-wf] [-rf] [-utc] [str]
DESCRIPTION
This manual page documents briefly the cbcodec commands.
cbcodec is a tool to use encoding and decoding features provided by Cabin. This command is used in the above format. file specifies a
input file. If it is omitted, the standard input is read.
OPTIONS
A summary of options is included below. For a complete description, see the file:///usr/share/doc/qdbm-doc/spex.html#cabincli.
-d perform decoding (unescaping), not encoding (escaping).
-br break up URL into elements.
-rs resolve relative URL.
-l output the tailing newline.
-e expr
specify input data directly.
-c num limit the number of columns of the encoded data.
-hd parse MIME and extract headers in TSV format.
-bd parse MIME and extract the body.
-part num
parse MIME and extract a part.
-ec code
specify the input encoding, which is UTF-8 by default.
-qp use quoted-printable encoding, which is Base64 by default.
-dc output the encoding name instead of the result string when decoding.
-t parse CSV. Convert the data into TSV. Tab and new-line in a cell are deleted.
-html parse CSV. Convert the data into HTML.
-p parse XML. Show tags and text sections with dividing headers.
-tsv parse XML. Show the result in TSV format. Characters of tabs and new-lines are URL-encoded.
-gz use GZIP format.
-crc output the CRC32 checksum as hexadecimal and big endian.
-ic code
specify the input encoding, which is detected automatically by default.
-oc code
specify the output encoding, which is UTF-8 by default.
-ol ltype
convert line feed characters, with `unix'(LF), `dos'(CRLF), and `mac'(CR).
-cn detect the input encoding and show its name.
-wc count the number of characters of the input string of UTF-8.
-um output mappings of UCS-2 characters and C strings of UTF-16BE and UTF-8.
-wf output in W3CDTF format.
-rf output in RFC 1123 format.
-utc output the coordinate universal time.
SEE ALSO qdbm(3), cabin(3).
AUTHOR
QDBM was written by Mikio Hirabayashi <mikio@fallabs.com>.
This manual page was written by Fumitoshi UKAI <ukai@debian.or.jp>, for the Debian project (but may be used by others).
Man Page 2005-05-23 CBCODEC(1)