Re: [MBS] Some CURLSMBS questions

2018-03-19 Thread Christian Schmitz

> 
> 1) How to navigate from a directory to another?

Change the URL you query.

> What 
> happens if Server has dropped the connection down because of a Time-Out?

If you use same server, CURL can reuse the connection so it doesn't do the same 
login again.
If connection appears dead, a new one is made.

> 2) How to get directory items information, such as type (directory, text 
> file, picture, movie ...)? Using OptionDirListOnly false, I get Access 
> privileges, date, time, size, name, but nothing about type.

You can try OptionCustomRequest = "MLSD" and see what you get.

I personally would try CURLSFileInfoMBS class, which does have a FileType 
property.

Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/


___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


[MBS] DynaPDF questions

2018-03-19 Thread Jean-Luc Arnaud
Hi,

I have an actual newbie question:

After modifying a PDF file (using DynaPDF), how do you save it to disk 
with another name (Save as ...)?

I tried to create a new pdf file (pdf2.CreateNewPDF), then to assign my 
modified pdf (pdf1) to pdf2 (pdf2=pdf1) and finally flush pdf2 pages 
(pdf2.FlushPages) but it claims for an output file. It should be the one 
used when creating pdf2, shouldn't it?

In addition, I'm looking for a way to export each page individually as a 
JPeg file. I found ExtractPageText but nothing for images.

TIA for your help.

-- 
Jean-Luc Arnaud


___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


[MBS] Some CURLSMBS questions

2018-03-19 Thread Jean-Luc Arnaud
Hi all,

I'm currently using CURLSMBS in a FTP development.

No problem for the connection, including getting the Root directory listing.

But I have some questions about following actions:

1) How to navigate from a directory to another? Currently, I modify the 
OptionURL, adding the complete path to the directory I'm trying to 
reach, and I fires a new Perform action. Is this a good way? What 
happens if Server has dropped the connection down because of a Time-Out?

2) How to get directory items information, such as type (directory, text 
file, picture, movie ...)? Using OptionDirListOnly false, I get Access 
privileges, date, time, size, name, but nothing about type.

TIA for any help.

-- 
Jean-Luc Arnaud


___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info