03-15-2006
Not with ftp.
You will have to use touch on the file after it has been moved over.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have written a basic script to ftp files from a local machine to a remote one and put it into a crontab to automate the process as the directory has more files added to it. I also have a cron which periodically removes files from the local directory to stop the filesystem from becoming full.... (4 Replies)
Discussion started by: Henrik
4 Replies
2. UNIX for Advanced & Expert Users
Hi,
Is it possible to Ftp the files from Windows to Unix while maintaining their timestamp
Gaurav (1 Reply)
Discussion started by: gauravgoel
1 Replies
3. UNIX for Advanced & Expert Users
How do i get the original create timestamp in Unix?
I tried "ctime" but this gives me the change timestamp which changes with changes to inode (owner, permissions, etc.).
I need the timestamp when the file was originally created.
Thanks in advance! (3 Replies)
Discussion started by: aster007
3 Replies
4. Shell Programming and Scripting
Hi,
I am searching for a way to change the display format of the timestamp from an FTP server.
From a SOLARIS 9 server (ksh) I am connecting with a shell script using Ncftp to an FTP remote server.
This script is making a list of available files on that FTP server. All files are listed with... (0 Replies)
Discussion started by: Aswex
0 Replies
5. Shell Programming and Scripting
Hi,
I need to copy few files from remote server to local server.
I write a shell script to connect to the remote server using ftp and go to that path. Now i need to copy those files in the remote directory to my local server with the timestamp of all those files shouldnt be changed.
... (5 Replies)
Discussion started by: arunkumarmc
5 Replies
6. Shell Programming and Scripting
Hi,
I've a file in the following format
1999-APR-8 17:31:06 1500 3 45
1999-APR-8 17:31:15 1500 3 45
1999-APR-8 17:31:25 1500 3 45
1999-APR-8 17:31:30 1500 3 45
1999-APR-8 17:31:55 1500 3 45
1999-APR-8 17:32:06 1500 3 ... (1 Reply)
Discussion started by: vaibhavkorde
1 Replies
7. UNIX for Dummies Questions & Answers
Hi Unix gurus,
Maybe it is too much to ask for but please take a moment and help me out. A very humble request to you gurus. I'm new to Unix and I have started learning Unix. I have this project which is way to advanced for me.
File format: CSV file
File has four columns with no header... (8 Replies)
Discussion started by: arvindosu
8 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
I am new to unix programming. I am trying for a requirement and the requirement goes like this.....
I have a test folder. Which tracks log files. After certain time, the log file is getting overwritten by another file (randomly as the time interval is not periodic). I need to preserve... (2 Replies)
Discussion started by: mailsara
2 Replies
9. Shell Programming and Scripting
Hello
Need help with shell script
There is are files on my ftp. They overwriting every hour from other places.
ls -la /home/ftp/
-rw-r--r-- 1 ftp nogroup 2296 2012-08-11 12:59 G1.zip
-rw-r--r-- 1 ftp nogroup 6676 2012-08-11 13:00 KRT1.zip
-rw-r--r-- 1 ftp nogroup 5169... (3 Replies)
Discussion started by: ck80
3 Replies
10. Shell Programming and Scripting
Hi,
I am trying to find out the original file size of an encrypted file in SunOS.
The file was decrypted with gpg command.
I want to know the size of the orginal file without decrypting it. I am using the below command, but it is not working for big files(more than 1 GB).
gpg --passphrase... (4 Replies)
Discussion started by: vsachan
4 Replies
LEARN ABOUT DEBIAN
locktest
LOCKTEST(1) [FIXME: manual] LOCKTEST(1)
NAME
locktest - Find differences in locking between two SMB servers
SYNOPSIS
locktest {//server1/share1} {//server2/share2} [-U user%pass] [-U user%pass] [-s seed] [-o numops] [-a] [-O] [-E] [-Z] [-R range] [-B base]
[-M min]
DESCRIPTION
locktest is a utility for detecting differences in behaviour in locking between SMB servers. It will run a random set of locking operations
against //server1/share1 and then the same random set against //server2/share2 and display the differences in the responses it gets.
This utility is used by the Samba team to find differences in behaviour between Samba and Windows servers.
OPTIONS
-U user%pass
Specify the user and password to use when logging on on the shares. This parameter can be specified twice (once for the first server,
once for the second).
-s seed
Seed the random number generator with the specified value.
-o numops
Set the number of operations to perform.
-a
Print the operations that are performed.
-A
Backtrack to find minimal number of operations required to make the response to a certain call differ.
-O
Enable oplocks.
-u
Hide unlock fails.
-E
enable exact error code checking
-Z
enable the zero/zero lock
-R range
set lock range
-B base
set lock base
-M min
set min lock length
-k
Use kerberos
VERSION
This man page is correct for version 4.0 of the Samba suite.
SEE ALSO
Samba
AUTHOR
This utility is part of the Samba[1] suite, which is developed by the global Samba Team[2].
locktest was written by Andrew Tridgell.
This manpage was written by Jelmer Vernooij.
NOTES
1. Samba
http://www.samba.org/
2. Samba Team
http://www.samba.org/samba/team/
[FIXME: source] 04/16/2014 LOCKTEST(1)