Community | RoboIntern
Software upgrade - Printable Version

+- Community | RoboIntern (https://robointern.tech/community)
+-- Forum: RoboIntern Forum (https://robointern.tech/community/forumdisplay.php?fid=1)
+--- Forum: How To / Q&A (https://robointern.tech/community/forumdisplay.php?fid=2)
+--- Thread: Software upgrade (/showthread.php?tid=1492)

Pages: 1 2 3


RE: Software upgrade - fifisave - 05-24-2021

Concerning Zip and Unzip a file into a FTP server do you plan to do something please?
With your tools I would like to remove archive files into a specific folder but only keep the n last one (n can be 3 or 5 or 7 or any other number of files order by date) with a specific entension like (*.csv).
regards
PS AVE


RE: Software upgrade - RoboIntern - 05-25-2021

Hello,

Regarding zip-unzip on FTP, I currently don't have capacities unfortunately. What you could do as a workaround for now is to download the zip files, extract, and then upload the content to the FTP server.

With respect to remove old files, you could try a dynamic formula by date: for example delete all files from yesterday by defining the path as ="home/myfolder/myfile_" & TEXT(TODAY()-1,"YYYYMM") & "*.zip"

Let me know if this helped!

Take care,
Tom


RE: Software upgrade - fifisave - 05-26-2021

(05-25-2021, 06:52 PM)RoboIntern Wrote: Hello,

Regarding zip-unzip on FTP, I currently don't have capacities unfortunately. What you could do as a workaround for now is to download the zip files, extract, and then upload the content to the FTP server.

With respect to remove old files, you could try a dynamic formula by date: for example delete all files from yesterday by defining the path as ="home/myfolder/myfile_" & TEXT(TODAY()-1,"YYYYMM") & "*.zip"

Let me know if this helped!

Take care,
Tom

Hello, That's what I am doing for now Unzip locally then upload by FTP but because the zip file contains a huge amount of data I would prefer to unzip the file directly on the FTP Server ..... but Ok I will work like you mention still a new enhancement !! LOL
Thank's for the help on the remove old file formula I will try this!
Regards



RE: Software upgrade - fifisave - 05-26-2021

Hello,
concerning the unzip fiel on the ftp server a PHP script called :
Code:
extractor.php
can be used for example :

Code:
$zip = new ZipArchive;
if ($zip->open('my_zip.zip') === TRUE) {
    $zip->extractTo('/path/to/my/zip');
    $zip->close();
    echo 'ok';
}


So can I launch a PHP script from your application please ?
regards


RE: Software upgrade - fifisave - 05-26-2021

Hello again,
may be you can incliude in the software launching a SSH command to zip and unzip files on the FTP server.
regards


RE: Software upgrade - RoboIntern - 05-26-2021

Hello,

Thanks for the feedback. I'll have a look at PHP and see if it's possible to include it.

Take care,
Tom


RE: Software upgrade - fifisave - 05-31-2021

(05-26-2021, 07:35 PM)RoboIntern Wrote: Hello,

Thanks for the feedback. I'll have a look at PHP and see if it's possible to include it.

Take care,
Tom

Hello I have an error message run a FTP task how can I check the error please?
Regards


RE: Software upgrade - RoboIntern - 05-31-2021

(05-31-2021, 02:24 PM)fifisave Wrote:
(05-26-2021, 07:35 PM)RoboIntern Wrote: Hello,

Thanks for the feedback. I'll have a look at PHP and see if it's possible to include it.

Take care,
Tom

Hello I have an error message run a FTP task how can I check the error please?
Regards

Hello,

You can check it by going with the mouse over the 'Error' cell in the 'Status' column of the given task.

Let me know if it worked!

Tom


RE: Software upgrade - fifisave - 06-01-2021

(05-31-2021, 08:27 PM)RoboIntern Wrote:
(05-31-2021, 02:24 PM)fifisave Wrote:
(05-26-2021, 07:35 PM)RoboIntern Wrote: Hello,

Thanks for the feedback. I'll have a look at PHP and see if it's possible to include it.

Take care,
Tom

Hello I have an error message run a FTP task how can I check the error please?
Regards

Hello,

You can check it by going with the mouse over the 'Error' cell in the 'Status' column of the given task.

Let me know if it worked!

Tom

Hello Yes I can see the error message error 530 not connected But stil  don't know how to fix it there is no error message when I setup the FTP task and using FTpzilla with the same account I can see my FTp directories. so what can i do more please?
Regards


RE: Software upgrade - RoboIntern - 06-01-2021

(06-01-2021, 06:17 AM)fifisave Wrote:
(05-31-2021, 08:27 PM)RoboIntern Wrote:
(05-31-2021, 02:24 PM)fifisave Wrote:
(05-26-2021, 07:35 PM)RoboIntern Wrote: Hello,

Thanks for the feedback. I'll have a look at PHP and see if it's possible to include it.

Take care,
Tom

Hello I have an error message run a FTP task how can I check the error please?
Regards

Hello,

You can check it by going with the mouse over the 'Error' cell in the 'Status' column of the given task.

Let me know if it worked!

Tom

Hello Yes I can see the error message error 530 not connected But stil  don't know how to fix it there is no error message when I setup the FTP task and using FTpzilla with the same account I can see my FTp directories. so what can i do more please?
Regards

Maybe try adding or removing a forwardslash from the defined FTP action's path. Like home/myfolder instead of /home/myfolder/