FTP

  • 17 Mar

    How to move files to different ftp folders under the same root

    How to move files to different ftp folders under the same root on the same server

    Q: Conditional destination request. We are looking for an easy way (one channel) to move files to different ftp folders (more than 100 folders) under the same root on the same server, where filename prefix (3 char) is the key to which folder. Prefix and folder name are different.

    A few examples:
    • BBL > folder1
    • ABB > folder2
    • BYR > folder4
    • BYP > folder5
    • DAT > folder6
    I have been looking at your blog post without finding anything like it. The list of prefixes and folders could be a text table in the script or in a csv file. Do you have a script for this?
    A: Yes this is possible, please have a look at the following screenshots. This setup can be used with other Sources and Destinations too.
    – We used a Windows folder as Source:
    limagito file mover windows folder as source
    – Open our Pascal Script option
    limagito file mover pascal script option

    Please enable and add the following ‘On Destination’ Pascal Script:

    • Please add the following script: link
      • The script strips the first 3 characters from the filename by using ‘copy(psFilename, 1, 3)’
      • The stripped part is compared with ‘BBL’, ‘ABB’ .. ‘DAT’
      • Depending on the result of the compare, a folder name is added to our variable psVSA ( pascal script Var String A )
      • This psVSA variable will be used in the Destination setup as parameter (%VSA, which contains data from psVSA)
    • You’ll need to adjust the folder names and add more prefixes if needed
    files to different ftp folders
    – In the FTP as Destination Setup, please adjust the ‘Create Subdir’ option to:   %VSA\%SFS
    • Here we used the %VSA parameter, set in the Pascal Script, which contains the desired subdirectory name
    limagito file mover destination setup
    – Feedback customer:

    That looks easy. Thank you very much.

    If you need any help with this new option, please let us know.

    Best Regards,

    Limagito Team

    #ftp #sftp #managedfiletransfer #filetransfer #filemanagement

  • 20 Jan

    Ftp downloads are not showing correct date and time?

    Ftp downloads are not showing correct date and time?

    Q: I am moving files from a AS400 / iSeries FTP system.

    • After download AND with ‘Adjust File Times’ option enabled, the correct date caries over but it six hours off.
    • If I uncheck the “Adjust File Times” moved file takes on the move timestamp.

    FYI: The ‘Adjust File Times’ option is available when using FTP as Source > Common Tab

    A: In version v2024.1.6.0 we added a ‘Custom adjust in minutes’ option. Can be + or –

    limagito file mover not showing correct date and time

     

    #ftp #managedfiletransfer #filetransfer #filemanagement

    If you need any help with this ‘not showing correct date and time’ question, please let us know.

    Best Regards,

    Limagito Team

    By Limagito-Team FTP , ,
  • 09 May

    I want to save the files to a sent folder after uploading to FTP

    A: I want to save the files to a sent folder after uploading to FTP?

    We look for files from a Windows Source and then send them to a FTP site. Destination memory is enabled so files are only ever sent once.  I want to save the sent files in Windows SENT folder as once they go to the customer FTP site they move or delete the files so we also store them on our side.

    Q: This is possible. You’ll need to add two destinations:

    • Destination 1 would be the FTP server (Important, must be the first Destination)
    • Destination 2 would be the Windows SENT folder

    limagito file mover destination setup

    In the Function Setup, please enable ‘Destination Memory  & Exit cylcus on Error’. In this case only when FTP succeeds the file will go to the Windows SENT folder. If it doesn’t succeed we’ll try to send the file to the FTP destination again during the next scan.

    limagito file mover function setup

    #filetransfer #ftp #mft

    If you need any info  about this request, please let us know.

    Best regards,

    Limagito Team

    By Limagito-Team Backup FTP ,
1 2 3 4 6
SEARCH