I am using the following code and have tried numbers others:
Code: Select all
FTPPutFile>ftp.myserver.com,[email protected],%serverpass%,21,%SCRIPT_DIR%\images\*.jpg, %remotePath%/images/,,A
The directory does exist.550-Can't change directory to /public_html/MYFOLDER/MYFOLDER2/images/: No such file or directory
The following code works perfectly:
Code: Select all
FTPPutFile>ftp.myserver.com,[email protected],%serverpass%,21,%SCRIPT_DIR%\permissions.txt,%remotePath%/,%remotePath%/permissions.txt,A
What am I doing wrong with the FTPputfile code?