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);
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);
Comment