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 ...

which command did you use for get this sorting?

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?
ftp> status
  • and what is the output on remote?
for i in file[1-3] fileend4; do stat --printf="%9n -> %.19y__[%Y]\n" $i ; done