Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


faulk
  •  faulk
  • No customer Topic Starter
2011-08-30T07:24:03Z
Hi,

How to create an ftp folder with variable?

/var/www/{DATEFORMAT(ddMMyyyy)}

If i do that, the task create the folder {DATEFORMAT(ddMMyyyy)}, and not 30082011.

Regards,
Sponsor
Forum information
ErikC
2011-08-30T07:30:06Z
Hi faulk,

This is strange. I just tested with your variable and I do get the 30082011 folder.
I tested it on version 5.7.3. Which version do you use?

Regards,
Erik
Uses Visualcron since 2006.
ErikC
2011-08-30T07:35:03Z
If you test with a execute task and use these settings:


command: c:\windows\system32\cmd.exe
arguments: /c mkdir \var\www\{DATEFORMAT(ddMMyyyy)}

will the directory be created?
Uses Visualcron since 2006.
faulk
  •  faulk
  • No customer Topic Starter
2011-08-30T09:16:04Z
Hi ,

i use version 5.7.8 . It is an ftp task (so the execute task you give me will not work).

Regards
faulk
  •  faulk
  • No customer Topic Starter
2011-08-30T15:26:04Z
I try an other way.

how to upload in ftp an entire folder (not just the file present in the folder), but the folder and his files.

ErikC
2011-09-13T06:26:03Z
Hi faulk,

You might want to try to upload files from a higher level and check the include subfolder checkbox here.
This would create the directory I think.

There is also a create directory option in the ftp task, so this can also do the trick.

You can still you the execute task first and you the output of this task as a variable in your create ftp folder task, but I don't see why the normal dateformat variable isn't working in the create ftp folder task.

Regards,
Erik
Uses Visualcron since 2006.
Scroll to Top