Re: Upload a file to sftp and create the path
I'm sorry, but we cannot help you based on just "something went wrong". Do you get any error? Or does the behavior differ from, what you expected? How? Please post session log file.
FOLDER
in my local PC with inside several paths
FOLDER\2022\1
FOLDER\2022\2
...
FOLDER\2022\12
FOLDER\2023\1
YEAR
and MONTH
and inside year there are only 12 folders as months and inside months several files, .csv files
mkdir
create the remote folder if not exist (or also if exist) and send the file one by one per times via put
command in that folder.
FOLDER
with remote root folder with command synchronize remote
.