Announcement

Collapse
No announcement yet.

FTP Folder Issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • FTP Folder Issue

    Hi,

    Need a little advice:

    I got a FTP script that uploads images to a server by creating a unique folder number but it only adds the first image to the folder then creates another folder and adds the second image to that etc.

    Just a little advice would help - I assume somewhere is the issue!


    FTP.SetTransferType(FTP.AUTO);



    --step through the selected files
    for i, files in pairs(archive_files) do

    tFile = String.SplitPath(files);



    folder_path = Label.GetText("Label1");
    FTP.MakeDir(folder_path);
    FTP.ChangeDir(folder_path);

  • #2
    Please explain how tFile is related to the text of Label1. It might help instead of posting what looks like incomplete code, if you could attach your project.

    Ulrich

    Comment

    Working...
    X