Sponsored Content
Special Forums Windows & DOS: Issues & Discussions sftp not get txt file 2nd time Post 302181189 by Jamil Qadir on Wednesday 2nd of April 2008 10:15:48 AM
Old 04-02-2008
Hi

Here is my another question. How i check, number of record transfer are correct or not


regards


Jamil
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

grep and delete 2nd duplicated of txt... -part2

Hi, I find out one problem is...the main point is we must delete 2nd duplicated of word in txt file. For example apple orange pink green orange yellow orange red output should be: apple orange pink green yellow orange (16 Replies)
Discussion started by: happyv
16 Replies

2. UNIX for Dummies Questions & Answers

Binary txt file received when i use uuencode to send txt file as attachment

Hi, I have already read a lot of posts on sending attachments in unix...but none of them were of help for my problem...so here goes.. i wanna attach a text file and send to a mail id..used the following code : uuencode "$File1" "$File1" ;|mail -s "$Mail_sub" abc@abc.com it works... (2 Replies)
Discussion started by: ash22
2 Replies

3. Shell Programming and Scripting

"Time" command and save result in a file.txt

Hi, I'am using "time" to check execution time of some script. Is there any possibility to save time command result into a file ? (2 Replies)
Discussion started by: Physix
2 Replies

4. Solaris

list of files in a txt file from sftp location

I want equivalent of ftp in sftp for listing of files into local machine from sftp location. ftp>ls -l list.txt the above creates a file list.txt in the local machine's current directory. sftp>ls -l list.txt it is giving Couldn't stat remote file: No such file or directory is there... (1 Reply)
Discussion started by: megh
1 Replies

5. Shell Programming and Scripting

awk append fileA.txt to growing file B.txt

This is appending a column. My question is fairly simple. I have a program generating data in a form like so: 1 20 2 22 3 23 4 12 5 43 For ever iteration I'm generating this data. I have the basic idea with cut -f 2 fileA.txt | paste -d >> FileB.txt ???? I want FileB.txt to grow, and... (4 Replies)
Discussion started by: theawknewbie
4 Replies

6. Shell Programming and Scripting

Need File arrival time(sftp) command

Hi All, I am getting some file through using sftp from another server to my server. I want know the exact file arrival time on my sytem I have tried stat command . it gives me the below details $ stat abc.txt File: `abc.txt Size: 24231 Blocks: 48 IO Block:... (5 Replies)
Discussion started by: aish11
5 Replies

7. UNIX for Dummies Questions & Answers

Get filelist.txt from a sftp remote server

Hi everyone, so I have a script create a login file to log into the sftp remote server, go to a certain directory and get the list of files in that direction into a text file in another folder (local folder). Here is the piece of code echo "#!/usr/local/bin/expect -f" >>... (5 Replies)
Discussion started by: warmboy610
5 Replies

8. Shell Programming and Scripting

Desired output.txt for reading txt file using awk?

Dear all, I have a huge txt file (DATA.txt) with the following content . From this txt file, I want the following output using some shell script. Any help is greatly appreciated. Greetings, emily DATA.txt (snippet of the huge text file) 407202849... (2 Replies)
Discussion started by: emily
2 Replies

9. Shell Programming and Scripting

Sftp file creation date and time

Hi Team, How to get the file creation date and time in SFTP server we can able to type ls -ltr command only SFTP server. Generally we type ls --full-time test.txt we will get the date and time , same way how to do in SFTP server after connected. Thanks (1 Reply)
Discussion started by: bmk123
1 Replies

10. UNIX for Beginners Questions & Answers

Sftp file creation time

Hi Team, Could you please let me know ,how to find the file creation date time in SFTP server. i tred like , ls -ltr command only availble and not available like ls --full-time test.txt please help? Thanks (7 Replies)
Discussion started by: bmk123
7 Replies
transfer::data::source(n)				     Data transfer facilities					 transfer::data::source(n)

__________________________________________________________________________________________________________________________________________________

NAME
transfer::data::source - Data source SYNOPSIS
package require Tcl 8.4 package require snit ?1.0? package require transfer::copy ?0.1? package require transfer::data::source ?0.1? transfer::data::source object ?options...? object destroy object type object data object size object valid msgvar object transmit channel blocksize done _________________________________________________________________ DESCRIPTION
This package provides objects mainly describing the origin of some data to transfer. They are also able to initiate transfers of the described information to a channel using the foundation package transfer::copy. API
transfer::data::source object ?options...? This command creates and configures a new source object. The fully qualified name of the object command is returned as the result of the command. The recognized options are listed below. It should be noted that the first four options are semi-exclusive, each specifying a dif- ferent type of data source and associated content. If these options are specified more than once then the last option specified is used to actually configure the object. -string text This option specifies that the source of the data is an immediate string, and its associated argument contains the string in question. -channel handle This option specifies that the source of the data is a channel, and its associated argument is the handle of the channel con- taining the data. -file path This option specifies that the source of the data is a file, and its associated argument is the path of the file containing the data. -variable varname This option specifies that the source of the data is a string stored in a variable, and its associated argument contains the name of the variable in question. The variable is assumed to be global or namespaced, anchored at the global namespace. -size int This option specifies the size of the data transfer. It is optional and defaults to -1. This value, and any other value less than zero signals to transfer all the data from the source. object destroy This method destroys the object. Doing so while a transfer initiated by the object is active is safe as all data required for the transfer itself was copied, and the completion of the transfer will not try to access the initiating object anymore. i.e. the trans- fer is completely separate from the source object itself. object type This method returns a string describing the type of the data the object is refering to. The possible values and their meanings are: undefined No data was specified at all, or it was specified incompletely. The object does not know the type. string The data to transfer is contained in a string. channel The data to transfer is contained in a channel. object data This method returns a value depending on the type of the data the object refers to, through which the data can be accessed. The method throws an error if the type is undefined. For type string the returned result is the data itself, whereas for type channel the returned result is the handle of the channel containing the data. object size This method returns a value depending on the type of the data the object refers to, the size of the data. The method throws an error if the type is undefined. Return of a negative value signals that the object is unable to determine an absolute size upfront (like for data in a channel). object valid msgvar This method checks the configuration of the object for validity. It returns a boolean flag as result, whose value is True if the object is valid, and False otherwise. In the latter case the variable whose name is stored in msgvar is set to an error message describing the problem found with the configuration. Otherwise this variable is not touched. object transmit channel blocksize done This method initiates a transfer of the referenced data to the specified channel. When the transfer completes the command prefix done is invoked, per the rules for the option -command of command transfer::copy::do in the package transfer::copy. The blocksize specifies the size of the chunks to transfer in one go. See the option -blocksize of command transfer::copy::do in the package transfer::copy. KEYWORDS
channel, copy, data source, transfer COPYRIGHT
Copyright (c) 2006 Andreas Kupries <andreas_kupries@users.sourceforge.net> transfer 0.1 transfer::data::source(n)
All times are GMT -4. The time now is 03:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy