Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Forums
Blogs
Articles
Groups
Galleries
Member List
Calendar
Home
Forum
Simply Business
Fucking Around & Business Discussion
Easiest Way To Upload 1 File To 5000 Individual Directorys?
Easiest Way To Upload 1 File To 5000 Individual Directorys?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
European Lee
Confirmed User
Join Date:
Dec 2002
Posts:
7133
Share
Post
#1
Easiest Way To Upload 1 File To 5000 Individual Directorys?
11-05-2004, 02:15 AM
Anyone happen to know the answer to this?
I dont feel like FTP'ing into each directory manually and uploading the file LOL
Regards,
Lee
YOUR TRAFFIC IS SAFE WITH US - CONDOM CASH
PUTTING THE GAY ADULT INDUSTRY ON YOUR PC!!
AFFORDABLE
2257
COMPLIANT
GAY + BI
CONTENT
Repetitive Monkey
Confirmed User
Join Date:
Feb 2004
Posts:
3505
Share
Post
#2
11-05-2004, 02:17 AM
Make a FTP script with a loop that goes through an array of FTP IPs/logins.
Comment
Post
Cancel
Jay_StandAhead
Confirmed User
Join Date:
Jul 2002
Posts:
3103
Share
Post
#3
11-05-2004, 02:29 AM
symlink
run a simple shell script that'll create symlinks to your file (so you save on HD space too)
would take 5 minutes for a good programmer to do
Our Programs:
StandAhead
|
IndieBucks
|
BoyCrushCash
|
Phoenixxx
|
EmoProfits
|
BritishBucks
|
HunkMoney
|
LatinoBucks
Make $$$ with Gay! Lowest Minimum Payouts in the Business, Perfect Track Record, Amazing Sites
Comment
Post
Cancel
Jay_StandAhead
Confirmed User
Join Date:
Jul 2002
Posts:
3103
Share
Post
#4
11-05-2004, 02:30 AM
or whip out the good old ghost mouse!
Our Programs:
StandAhead
|
IndieBucks
|
BoyCrushCash
|
Phoenixxx
|
EmoProfits
|
BritishBucks
|
HunkMoney
|
LatinoBucks
Make $$$ with Gay! Lowest Minimum Payouts in the Business, Perfect Track Record, Amazing Sites
Comment
Post
Cancel
Repetitive Monkey
Confirmed User
Join Date:
Feb 2004
Posts:
3505
Share
Post
#5
11-05-2004, 02:33 AM
Or ModRewrite if the paths and names are somewhat patterned.
Comment
Post
Cancel
kondro
Registered User
Join Date:
Nov 2004
Posts:
23
Share
Post
#6
11-05-2004, 05:13 AM
You could do something this:
1. Upload file to temporary directory.
2. Use the following script:
find /base/dir -type d | xargs cp /tmp/dir/file
This will copy the file in the temporary directory to any directory under the /base/dir directory.
You could do a similar thing with symlink, just make sure not to delete the original and I would suggest using absolute paths.
Comment
Post
Cancel
European Lee
Confirmed User
Join Date:
Dec 2002
Posts:
7133
Share
Post
#7
11-05-2004, 05:16 AM
Originally posted by kondro
You could do something this:
1. Upload file to temporary directory.
2. Use the following script:
find /base/dir -type d | xargs cp /tmp/dir/file
This will copy the file in the temporary directory to any directory under the /base/dir directory.
You could do a similar thing with symlink, just make sure not to delete the original and I would suggest using absolute paths.
Thats more along the lines of what i was looking for thanks
Out of interest though..
Will that copy the files into the sub directory of the initial sub directorys also?
domain.com/dir/subdir is where i need them to go not..
domain.com/dir/subdir/subdir
Regards,
Lee
YOUR TRAFFIC IS SAFE WITH US - CONDOM CASH
PUTTING THE GAY ADULT INDUSTRY ON YOUR PC!!
AFFORDABLE
2257
COMPLIANT
GAY + BI
CONTENT
Comment
Post
Cancel
cfU
Confirmed User
Join Date:
Jan 2003
Posts:
933
Share
Post
#8
11-05-2004, 05:42 AM
<cfdirectory action="LIST"
name="fiveGFolderName"
directory="C:\Inetpub\wwwroot\folderOfFiveGs"
sort="name asc">
<cfif fiveGFolderName.recordcount>
<cfloop query="fiveGFolderName">
<cffile action="UPLOAD" fileField="yourFuckingFile"
destination = "C:\Inetpub\wwwroot\folderOfFiveGs\#fiveGFolderNam e.name#\"
nameconflict="MAKEUNIQUE" accept ="image/*,application/msword,text/*">
</cfloop>
</cfif>
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎
☕
Comment