PDA

View Full Version : FTP Muti Help please



sim
03-07-2010, 02:16 PM
Hey there all, I am stuck on something that i could do with your help on.

I have been making a FTP program and I can connect change remote and local DIR's I started making the upload part and hit a wall.

I have 3 listbox's

Local folders
List folders so i can set my working folder
Working Folder
includes files and folders for upload
Server
well the ftp server

what my problem is i don't know how to get mutli seleted files for them list
box and upload them and same with downloading them back.

can anyone help on this one i no good with loops and the one i tryed didn't work as i am stupid lol.

when i selet more then one i get the error STOP but if i upload one file it works also can anyone tell me how i would upload a full folder thanks.


Simply Rex

Scriptonite
03-07-2010, 05:33 PM
The upload loop I made for this example can upload multiple files that are selected, I don't know if this is what your looking for but it might help.
http://www.indigorose.com/forums/showthread.php?t=29131

Instead of using the dialog box just use the listbox data with the file path.

sim
03-07-2010, 05:57 PM
The upload loop I made for this example can upload multiple files that are selected, I don't know if this is what your looking for but it might help.
http://www.indigorose.com/forums/showthread.php?t=29131

Instead of using the dialog box just use the listbox data with the file path.

Shadow helped me out with what i needed but thanks for the reply i will look at your example see if i can lean anything from it :) now i am just trying to get the folder uploading to work :) thanks again.

:yes

Simply Rex