Sponsored Content
Full Discussion: Getting latest file from ftp
Top Forums UNIX for Dummies Questions & Answers Getting latest file from ftp Post 302165517 by GaneshB on Friday 8th of February 2008 04:15:39 AM
Old 02-08-2008
Execute the below command

ls -ltr
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script to ftp latest file

Hello All, Hope u r doing fine. I'm writing a shell script to ftp the latest file having pericular convention as 'ULTI_15072007043205.txt' on daily basis. Now the date & timing of the file geleration isnt constant, so the file name daily varies as per the date & timing of generation. Can anyone... (7 Replies)
Discussion started by: im_new
7 Replies

2. UNIX for Dummies Questions & Answers

ftp command to get latest file

Hi, I would like an FTP command or series of commands to get only the latest file. Is that possible? Thanks in advance. (2 Replies)
Discussion started by: laiko
2 Replies

3. Shell Programming and Scripting

ftp the latest file from unix to windows

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

4. Shell Programming and Scripting

How to get latest file via FTP session

Hello , My requirement is as follows: I want to connect to a remote FTP server using FTP and then get the latest file from server location can u pls share code snippet for this ? Regards, Suresh (4 Replies)
Discussion started by: sureshg_sampat
4 Replies

5. Shell Programming and Scripting

Question about how to ftp download the latest file from a directory

Dear all, Hope you are doing well. I am in trouble to write a shell for ftp downloading the latest file from remote server. Situation: There is a directory named 'weekly' which contains .csv files with the following pattern: RES_EN_100417-080003.csv.Z. The new file is generated... (3 Replies)
Discussion started by: kel1014
3 Replies

6. Shell Programming and Scripting

Script to upload latest file to other server via FTP

Hello, I have a script that finds the latest version of a file in a folder on my Minecraft server. I'm trying to come up with something that will then FTP that file over to my fileserver. Here's what I have that finds the newest file: find /home/mc/archive/sbhouse -type f -mtime +45 -exec... (7 Replies)
Discussion started by: nbsparks
7 Replies

7. UNIX for Advanced & Expert Users

Want to download a latest file with current date from FTP location

Dear Friends, I need help to write a shell / perl script to download the files from FTP location, having different file names (date inside the file name). Example: Mar 5 09:24 cfx_03052013_return_file.txt Mar 6 02:13 cfx_03062013_return_file.txt Mar 7 06:40... (3 Replies)
Discussion started by: Praveen Pandit
3 Replies

8. Shell Programming and Scripting

Read latest file name with a date and time and then download from FTP

Hi All, Please help. I have requirement to read the file / folder based on the latest date and download the file and folder. There will be files and folders in the location like 20140630-144422 20140630-144422.csv 20140707-182653 20140707-182653.csv 20140710-183153... (7 Replies)
Discussion started by: Praveen Pandit
7 Replies

9. Ubuntu

FTP script to get latest file from server

Hello people, I have to download, with a scheduled script, the latest file from an FTP server. In the remote DIR, named .../TEKNONET/60468/, every night a CDR file like this gets uploaded into it: 000006046820151122N001.CDR, so my script will have to download every day the previous day... (12 Replies)
Discussion started by: virtus96
12 Replies

10. Shell Programming and Scripting

Upload latest file to ftp

Hi, I want to create a script that parses the content of a file (on each line there is a filename with full path containing the latest fiels created on that day) and uploads every file to a ftp location. Any elegant way to do it ? (4 Replies)
Discussion started by: liviusbr
4 Replies
viewcmds(3U)						    InterViews Reference Manual 					      viewcmds(3U)

NAME
CenterCmd, CloseEditorCmd, GravityCmd, GridCmd, GridSpacingCmd, NormSizeCmd, OrientationCmd, RedToFitCmd - commands for modifying editor attributes SYNOPSIS
#include <Unidraw/Commands/viewcmds.h> DESCRIPTION
The Unidraw library predefines several commands for altering the attributes of editors and their viewers. CenterCmd centers each of the editor's viewers. CloseEditorCmd closes the editor, removing it from the screen. GravityCmd turns gravity on by activating the editor's GravityVar, if it defines one. GridCmd toggles the visibility of each viewer's grid, while GridSpacingCmd lets the user specify the grid spacing for all grids. Finally, NormSizeCmd sets each viewer's magnification to a factor of one, OrientationCmd toggles each viewer's ori- entation between landscape mode and portrait mode, and RedToFitCmd changes each viewer's magnification so that its component view is fully visible. CENTERCMD PUBLIC OPERATIONS
CenterCmd(ControlInfo*) CenterCmd(Editor* = nil) Construct a new CenterCmd. virtual void Execute() Execute simply calls CenterOp on each of the editor's viewers. virtual boolean Reversible() CenterCmd is not reversible. CLOSEEDITORCMD PUBLIC OPERATIONS
CloseEditorCmd(ControlInfo*) CloseEditorCmd(Editor* = nil) Construct a new CloseEditorCmd. virtual void Execute() Execute calls Close on the global unidraw object with the CloseEditorCmd's editor as its argument. Execute prompts the use to save the component if it does not appear in any other open editors. If no other editors are open at all, Execute creates and executes a QuitCmd. virtual boolean Reversible() CloseEditorCmd is not reversible. GRAVITYCMD PUBLIC OPERATIONS
GravityCmd(ControlInfo*) GravityCmd(Editor* = nil) Construct a new GravityCmd. virtual void Execute() Execute calls Activate on the editor's GravityVar (if it defines one) with the inverse of the value returned by GravityVar's IsAc- tive operation. virtual boolean Reversible() GravityCmd is not reversible. GRIDCMD PUBLIC OPERATIONS
GridCmd(ControlInfo*) GridCmd(Editor* = nil) Construct a new GridCmd. virtual void Execute() Execute calls the Visibility operation on the grid from each of the editor's viewers, supplying the inverse of the value returned by Grid's IsVisible oepation. virtual boolean Reversible() GridCmd is not reversible. GRIDSPACINGCMD PUBLIC OPERATIONS
GridSpacingCmd(ControlInfo*) GridSpacingCmd(Editor* = nil) Construct a new GridSpacingCmd. virtual void Execute() Execute prompts the user to specify grid spacing information through a GridDialog. If the user does not cancel the dialog, then Execute will pass the specified grid spacing to a SetSpacing call on each viewer's grid. virtual boolean Reversible() GridSpacingCmd is not reversible. NORMSIZECMD PUBLIC OPERATIONS
NormSizeCmd(ControlInfo*) NormSizeCmd(Editor* = nil) Construct a new NormSizeCmd. virtual void Execute() Execute simply calls SetMagnification with an argument of 1 on each of the editor's viewers. virtual boolean Reversible() NormSizeCmd is not reversible. ORIENTATIONCMD PUBLIC OPERATIONS
OrientationCmd(ControlInfo*) OrientationCmd(Editor* = nil) Construct a new OrientationCmd. virtual void Execute() Execute switches the orientation of each of the editor's viewers via their SetOrientation operation. virtual boolean Reversible() OrientationCmd is not reversible. REDTOFITCMD PUBLIC OPERATIONS
RedToFitCmd(ControlInfo*) RedToFitCmd(Editor* = nil) Construct a new RedToFitCmd. virtual void Execute() Execute simply calls ReduceToFit on each of the editor's viewers. virtual boolean Reversible() RedToFitCmd is not reversible. SEE ALSO
BasicDialog(3U), Command(3U), Grid(3U), Unidraw(3U), Viewer(3U), catcmds(3U), globals(3U), statevars(3U) Unidraw 24 January 1991 viewcmds(3U)
All times are GMT -4. The time now is 04:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy