ftp automation

ScriptFTP

The professional tool to automate FTP, SFTP, FTPS and schedule FTP batch jobs

The forum is now read only. Please, go to the the main ScriptFTP website if you need help.
Post here if you experience file transfer problems or unexpected errors.
my script is encountering the following error
CHDIR("/public_html/wp-includes")
Changing current remote directory to /public_html/wp-includes

LOCALCHDIR("c:\backups\vocal.co.uk\monthly\2012-06-22\wp-includes")
Changing current local directory to c:\backups\vocal.co.uk\monthly\2012-06-22\wp-includes

GETFILE("*.*",SUBDIRS)
Downloading................. default-filters.php
Downloading................. class-pop3.php
Downloading................. ms-functions.php
Downloading................. class-http.php
Downloading................. ms-default-constants.php
Downloading................. cache.php
Downloading................. rss-functions.php
***** GETFILE Error #2 : Cannot rename local temporary file from rss-functions.php.part to rss-functions.php.
***** The system said: The system cannot find the file specified.

when it does this it seems to stop the current GETFILE command and move on to the next command, as a result there are many missing files.
I don\'t entirely understand why it is trying to save a .part file to the proper file name, I can only assume that the file transfer has been interrupted. is there any fix for this? Or am i creating the wrong command
I have pasted my script below

FTP Script
  1. OPENHOST("myhost","user","pass")
  2. LOCALMKDIR($mypath)
  3. LOCALMKDIR($mypath."\wp-admin\")
  4. LOCALMKDIR($mypath."\wp-content\")
  5. LOCALMKDIR($mypath."\wp-includes\")
  6.  
  7. LOCALCHDIR($mypath)
  8.  
  9. CHDIR("/public_html")
  10. GETFILE("*.*")
  11.  
  12. CHDIR("/public_html/wp-content")
  13. LOCALCHDIR($mypath."\wp-content")
  14. GETFILE("*.*",SUBDIRS)
  15.  
  16. CHDIR("/public_html/wp-admin")
  17. LOCALCHDIR($mypath."\wp-admin")
  18. GETFILE("*.*",SUBDIRS)
  19.  
  20. CHDIR("/public_html/wp-includes")
  21. LOCALCHDIR($mypath."\wp-includes")
  22. GETFILE("*.*",SUBDIRS)
  23.  
  24. # Transfer finished, close the connection
ScriptFTP downloads the files appending .part to their file name. Once the download is finished it renames the file back to its original file name (removing the .part). This prevents file corruption if the download is aborted or the connection is lost.

Your problem seems to be that another process (not ScriptFTP) have removed rss-functions.php.part.