download all remote folders and subfolders to new local folder named to current date \yyyy.mm.dd and delete source files after.
Obviously not quite a programmer...
I might be asking too much but I have to try
Thank you
Obviously not quite a programmer...
I might be asking too much but I have to try
Thank you
FTP Script
- $RemotePath="/Remote_path"
OK first of all thank you!
It creates the folder but than starts copying files out of the folder
Results in local folder look like this :
-\yyyy\mm\dd
-\copied folder 1
-\copied folder 2
etc.
Could I be doing something wrong ?
It creates the folder but than starts copying files out of the folder
Results in local folder look like this :
-\yyyy\mm\dd
-\copied folder 1
-\copied folder 2
etc.
Could I be doing something wrong ?
I'm sorry, the folder created, but not moved into it
FTP Script
- $RemotePath="/Remote_path"
seems to work fine now
thank you!
at times files copied or files deleted might be in use or just locked by windows.
can there be a skip command added for these files.
cuz if not.. it simply skips copying or deleting everything else
thank you!
at times files copied or files deleted might be in use or just locked by windows.
can there be a skip command added for these files.
cuz if not.. it simply skips copying or deleting everything else
For a single directory easily. And if there are subdirectories, you have to check the directory structure and copy / delete each file separately. And this is a lazy ...
The easy porobovat can be an option. We try to sync content MaxCtn time, if possible, then remove the content at the source. But if the files are widely used, the sense still will not ...
FTP Script
- $RemotePath="/Remote_path"
- $LocalPath="\Local_path"
- $MaxCnt=10
- $Cnt=0
- :SyncAgain
- $Cnt=$Cnt+1
- GOTO :SyncAgain
Thanks for helping Wandrey
liked Script FTP? Try our other product Email Parser
- All times are UTC -