ftp files ntrans setting


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting ftp files ntrans setting
# 1  
Old 11-17-2011
ftp files ntrans setting

Hi all,
am transfer some set files to remote machine from unix



like
put file1
put file2
put file3
put fileend4

But on remote machine files are getting placed like this
file1
fileend4
file2
file3

Are their is any sequence of file transfer like alphabetic order or timestamp or sequence of put ?
I have tested all 3 scenario( alphabetic order or timestamp or sequence of put) but found no conclusion .
Please help ...
# 2  
Old 11-17-2011
Quote:
Originally Posted by vivek1489
Hi all,
But on remote machine files are getting placed like this
file1
fileend4
file2
file3
which command did you use for get this sorting?
# 3  
Old 11-18-2011
ls -ltr for sorting it..
# 4  
Old 11-18-2011
Quote:
Originally Posted by vivek1489
ls -ltr for sorting it..
* try re-again same process and see the results (put new files and see modif time on remote) ?
* be sure remote files are not be affected by any script or process..(might be used write(),utime(s)()..)
* what is the output in ftp session?
Code:
ftp> status

* and what is the output on remote?
Code:
for i in file[1-3] fileend4; do stat --printf="%9n -> %.19y__[%Y]\n" $i ; done

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Default umask setting during ftp AIX

Hi, I have set below option in following file /etc/inetd.conf in AIX. ftp stream tcp6 nowait root /usr/sbin/ftpd ftpd -u 2 But still it created the file with permission (640): -rw-r----- 1 ftptosas ftpusrg 6091 Jul 28 12:23 diff_061920.txt Required permission... (1 Reply)
Discussion started by: mageshpsv01
1 Replies

2. AIX

default umask setting during ftp

Hi all, How do i change the default primary group of files uploaded in AIX (via ftp) in such a way that the files will be owned by tom:staff? I understand that the default file permission can be set in /etc/profile for aix by adding a new line umask=032 Do I add a line in umask as well?... (5 Replies)
Discussion started by: chipahoys
5 Replies

3. UNIX for Dummies Questions & Answers

Setting up FTP account

Hi, I am new to the workd of FTP administration. I was asked to make an account on our FTP server so that someone can only download and upload to his home directory. The account is made but what settings/cconfiguration can I verify to ensure that the user has access to his home directory only?... (1 Reply)
Discussion started by: mojoman
1 Replies

4. Linux

Setting up FTP service +on Fedora 9

Hi all, I set up FTP service at my linuxAbox. Everything is good. When i did FTP from my LinuxB box , it authenticated just fine. The problem is: 1. I can't list the directory 2. when i use ls command to list the directory, it showed: 227 Entering passive mode... (2 Replies)
Discussion started by: c00kie88
2 Replies

5. UNIX for Dummies Questions & Answers

Setting up FTP access to my Tomcat Dir

Hi Guys, Im trying to set up FTP to my Apache Tomcat dir on my server so my web designer can FTP in and look at things in a live environment. However at first I couldn't write to the dir, so i change some permissions, and now I cant access it at all! Here is my LS -all output: ... (4 Replies)
Discussion started by: boarderstu
4 Replies

6. Solaris

how to setting ftp

Dear expert, I have problem when try ftp to my unix box (solaris 10). I was setting /etc/default/login file for enable remote access. enabling service for ftp and in /etc/ftpd/ftpusers thereis exist root. but can not using root for ftp (message : 530 login incorrect) but with using... (4 Replies)
Discussion started by: heru_90
4 Replies

7. UNIX for Advanced & Expert Users

setting username and password for ftp

hi, i have set up an FTP server in one of our systems. could some one tell me the procedure to set up the username and password for it to enable other users to access the server. thanks (1 Reply)
Discussion started by: div
1 Replies

8. IP Networking

Setting up ftp to ip?

How can I set up a webpage from my computer, so that people knowing my ip-adress can connect? I'm using Ubuntu/linux and have some ftp programs but I have no idea how to set the up. Regards Richard (1 Reply)
Discussion started by: riwa
1 Replies

9. UNIX for Dummies Questions & Answers

Setting up a personal FTP

Ok guys, i dont need a detailed guide from you guys if you dont want to give me one, but i would appreciate maybe a link to a newb step by step guide on how to create your own ftp :) Thanks alot! Jason (19 Replies)
Discussion started by: gearshifter
19 Replies

10. UNIX for Dummies Questions & Answers

setting up FTP on Linux/Unix

Hi, I do not currently have any versions of Unix or linux, but I am considering getting one. I have a home computer and I want to set it up with a linux with a GUI (I know nothing about that whol command line prompt),and I want to allow my friends to access certain files on my hard drive using... (5 Replies)
Discussion started by: KrazyGuyPaul
5 Replies
Login or Register to Ask a Question