-
You do realize by 'gay' I mean a man who has sex with other men?
Batch Upload? Single File .> Multiple Sub Directorys
Does anyone know of a method of doing this?
I have an index.php file that i need to upload to 3000 individual sub directorys on one of our servers.
Anyone know if it is possible to do without having to load it to each directory individually?
Regards,
Lee
-
Greetings:
Why not use mod_rewrite?
-
You do realize by 'gay' I mean a man who has sex with other men?
Originally posted by JustMe
Greetings:
Why not use mod_rewrite?
Because the file is actually slightly different depending on which domain we upload it to
Regards,
Lee
-
Greetings:
Well, ok then:
Get yourself a copy of CuteFTP 6.0 Professional from GlobalSCAPE. Set up the ftp for the site that has these 3,000 directories. Then, Tools => Custom Commands => Edit Custom Commands.
From there, you can use the enviromental variables that it allows for to script a command that will upload the index.php file into the 3,000 directories.
I'm not sure what you're running as an FTP server, because some of them can get kind of pissy about doing this sort of custom command scripting. If yours is one of those, CuteFTP Pro. allows you to set up Macros as well, which could also be used to do the same thing.
(Wow, was that a commercial for CuteFTP Pro. or what?!?)
Hope that helps...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks