Upload jpg images on the hard drive to a ftp server, using PowerShell.
The script checks every second, for "jpg" images in a "medias" directory on your hard drive. When an image is found, it is automatically sent to the remote ftp directory you specify.
If upload is complete, the image is saved in a "save" directory on your hard drive, then, deleted from the "medias" directory. If upload is not complete, images still in "medias" directory and the script tries again indefinitely. For big size images, we wait 2 seconds after an image has been created in the "medias" folder, to send it through ftp.
Put the script in a directory that you call, by example "c:\fff". Create in this directory, two directories, "medias" and "save".
To execute easier the file, put the automate batch on your desktop, run it.
NB: If you encounter any issues, feel free to contact me at [email protected].