Never mind, I have it figured out now. It would just be “/a/c” to get what I
need.
Thanks again!
--
Cannon.Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236
> On Jun 28, 2018, at 5:33 PM, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
>
Hi Miyako,
Thanks. I’ll go get the new version now and give it a try.
From your example on github, is this how you would move “c” up a level?
OB SET($options;\
"URL";"ftp://ftp.example.com/a/b/c";\
"USERNAME";"user";\
"PASSWORD";"pass")
$name:="ftp://ftp.example.com/a/c” //A full path here???
the code was based on the libcurl FTP example.
SFTP terminology is different to FTP (rename instead of RNFR/RNTO, rm instead
of DELE, rmdir/mkdir instead of RMD/MKD)
I've just made some changes to take that into account.
https://github.com/miyako/4d-plugin-curl-ftp/releases/tag/1.5
2018/06/29
Cannon,
my Fileutl component has a command Fileut_Move which (can) take an
array of paths as source with a single destination
so you could do something like this:
Document List($Directory_contents_to_Move;$File_path_array;absolute
paths)
I think this would be a rename operation. I am not familiar with the plugin but
is there a rename command?
-Tim
**
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive:
Does anyone know if Miyako’s cURL FTP plugin can move files? I need to get a
list of files in a directory and then move them all up into the parent folder
and I’m not quite sure how to do that with his plugin.
Thanks.
--
Cannon.Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
6 matches
Mail list logo