Hi, I have this problem...
-when I write this code:
-show me:
Thank you very much
-when I write this code:
Code: Select all
LOCALCHDIR("D:\SKUSKA\")
EXEC("C:\WinPRG\ZIP\zip.exe -r xxx.zip D:\SKUSKA\01\")
LOCALCHDIR("D:\SKUSKA\")
new_file_name=CONCAT("D:\SKUSKA\backup-",GETDATE(FORMAT2),".zip")
RENAMEFILE("D:\SKUSKA\xxx.zip",new_file_name)
Â
-show me:
- Running D:\SKUSKA\xxx.ftp
LOCALCHDIR("D:\SKUSKA\")
Changing current local directory to D:\SKUSKA\
EXEC("C:\WinPRG\ZIP\zip.exe -r xxx.zip D:\SKUSKA\01\")
adding: SKUSKA/01/ (256 bytes security) (stored 0%)
adding: SKUSKA/01/aa.txt (188 bytes security) (stored 0%)
adding: SKUSKA/01/ab.txt (188 bytes security) (stored 0%)
adding: SKUSKA/01/ac.txt (188 bytes security) (stored 0%)
LOCALCHDIR("D:\SKUSKA\")
Changing current local directory to D:\SKUSKA\
RENAMEFILE("D:\SKUSKA\xxx.zip","D:\SKUSKA\backup-2010_04_22-08_45.zip")
***** RENAMEFILE Error #12001: Not connected.
Finished
Thank you very much
Hello Mihcal,
It seems that your server closes the connection for some unknown reason. Could you enable verbose mode and run the script again? Verbose mode is enabled putting VERBOSE(ON) on the top of the script.
It seems that your server closes the connection for some unknown reason. Could you enable verbose mode and run the script again? Verbose mode is enabled putting VERBOSE(ON) on the top of the script.
liked Script FTP? Try our other product Email Parser