09-10-2008, 09:49 PM
Woefully simple question but still not quite grasping it:
How can I get the list resulting from enumerating the files of a directory into a single string (each separated by [] preferably)
enumerate directory:
Macro
Also, how can I incorporate a directory enumeration into the following code (for uploading all files in a directory via ftp) instead of Open/Save dig?
Macro
Thanks!
How can I get the list resulting from enumerating the files of a directory into a single string (each separated by [] preferably)
enumerate directory:
Macro
Also, how can I incorporate a directory enumeration into the following code (for uploading all files in a directory via ftp) instead of Open/Save dig?
Macro
Ftp f.Connect(fserver uname pword); f.Disconnect
ARRAY(str) a; int i
if OpenSaveDialog(0 0 "" "" 0 "" 0 a)
,for(i 0 a.len)
,,out a[i]
,,if(!f.DirSet(remotedir)) mes- "FTP error: DirSet failed."
,,if(!f.FilePutWithProgress(a[i])) mes- "FTP error: HTML file upload failed."
Thanks!