Script

FTP

The professional tool to automate FTP, SFTP, FTPS

and schedule FTP batch jobs

MENU MENU
Post here if you experience file transfer problems or unexpected errors.
So, I have this script...
FTP Script
  1. LOGTO("C:\TransferLog.txt",APPEND)
  2.  
  3. # Connect to FTP server
  4. OPENHOST("50.199.130.26","administrator","******")
  5.  
  6. ADDEXCLUSION(UPLOAD,"*.vhd")
  7.  
  8. RMDIR("/Casemate/Bull_Run")
  9. MKDIR("/Casemate/Bull_Run")
  10. CHDIR("/Casemate/Bull_Run")
  11.  
  12. #Sync Files
  13. PUTFILE("E:\Bull_Run\*.*",SUBDIRS)
  14.  
  15. # Transfer finished, close the connection
I do not want it to upload any VHD file as they are huge. Here is the output I get when running it...

OPENHOST("50.199.130.26","administrator","********")
Connecting to 50.199.130.26
Connected

ADDEXCLUSION("REMOTE","*.vhd")
Excluding the files matching *.vhd from downloads or any remote file operations

ADDEXCLUSION("LOCAL","*.vhd")
Excluding the files matching *.vhd from uploads or any local file operations

RMDIR("/Casemate/Bull_Run")
Removing................. /Casemate/Bull_Run

MKDIR()

CHDIR("/Casemate/Bull_Run")
Current remote directory is now /Casemate/Bull_Run/

PUTFILE("E:\Bull_Run\*.*",SUBDIRS)
Uploading................. E:\Bull_Run\Image_C_130429-0018.vhd
Error #125
Component busy.
I've tried many combinations and it's like ADDEXCLUSION does not work at all. Any suggestions??
Insert in the beginning of the script
FTP Script
  1. VERBOSE(ON)
and show the result again.