I have a directory with images that I would like to ftp to another location. The names of the jpg's are all different. Is it possible to use an alias with ftp_put? Something like the following......
ftp_put($ftp, "uploads/.jpg", ".jpg", FTP_BINARY);
after looking at the php manual, it seems as though it would only support one file at a time.
i would read the directory and build an array based on your string. maybe use preg_match() ... then for each of the files in the array, use the f_puts function.
I thought of probabaly the easiest way. I am going to take all the files and zip them to one file....now I can FTP.
All is good!
Thanks for the help