The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
FTP random files
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
FTP random files
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
11-21-2007
bobbygsk
Registered User
Join Date: Oct 2007
Posts: 90
Use the rand() command
1) List the filenames to a file
2) Use rand(no. of filenames in the file)
3) Use the result of the rand() as the position of the filename list in the file.
4) Get the filename to ftp
bobbygsk
View Public Profile
Find all posts by bobbygsk
Find bobbygsk's past nominations received
Find bobbygsk's present nominations given