Have alook at this code as it keeps giving me a cant return to nest error but i dont think anyhing rong with it any idears
[Code]
_Connect
cls : print "FTP Connection"
ftp connect url$,user$,pass$
if get ftp failure()=0
print "Connection Established"
gosub _Main_Dir_files
else
print "Could Not Establish Connection
print "Error: ";get ftp error$()
waitkey
goto _New_Connection
endif
return
_Main_Dir_Files:
cls : print "FTP Main Dir Files"
if get ftp status()=1
print "FTP DIR: ";get ftp dir$();"..." : sync
ftp find first
while get ftp file type() -1
print "TYPE: "get ftp file type();
print "Name: "get ftp file name$();
print "Size: "get ftp file size()
sync
endwhile
endif
return
what the hell is rong with that