Replies: 8 comments 2 replies
-
in new HFS this is different. but you DON'T NEED to make "/create-directory", as you already have that in HFS. It's |
Beta Was this translation helpful? Give feedback.
-
your problem now is a python problem, it has nothing to do with HFS, and i'm no good with python. |
Beta Was this translation helpful? Give feedback.
-
Thanks! Would you please advise what specific arguments are required for this create_folder api. I can not find the document for this api. |
Beta Was this translation helpful? Give feedback.
-
i just documented it |
Beta Was this translation helpful? Give feedback.
-
Revise the python request with additonal authentication, but still got a bad uri response error message. Python
Error Messagehfs_url: http://192.168.1.106/~/api/create_folder |
Beta Was this translation helpful? Give feedback.
-
i see you are passing "params" to requests.post. |
Beta Was this translation helpful? Give feedback.
-
Dear Sirs, See below the information. Change log:
Your kindly support is highly appreciated. Scott Lin Link on the HFS Admin PanelDisk source = /Users/youmin/hfs/PX001/0646 Pythondef hfs_mkdir(scheme, ip_addr, hfs_path, folder_name, username, password):
Error message(django) youmin@YouMindgdiannao ftp_client % python ftp_client.py hfs_url: http://192.168.1.106/~/api/create_folder |
Beta Was this translation helpful? Give feedback.
-
happy to know it's working! |
Beta Was this translation helpful? Give feedback.
-
Dear Sirs,
I'm new to HFS.
My current version is 0.53.0 on MacOS.
I can not find a Menu item of
Menu > Other options > Edit event scripts
in the HFS Admin-panel.I'd like to add Event Script to the HFS like to add a new directory when get the request.
[request]
{.if|{.match|/create-directory/*|%url.}|{
{.mkdir|%url-folder%.}
{.reply|200|Directory created.}
}.}
Please advise how I can accomplish this simple task.
Thanks!
Scott Lin
Beta Was this translation helpful? Give feedback.
All reactions