01-08-2011, 05:10 AM
Im trying to use the ftp function but keep having problem with the server
Function Test
the errors i get are Error (RT) in Function: Failed. The connection with the server was reset
Error (RT) in Test: Failed. A connection with the server could not be established
Error (RT) in Test: Failed. A connection with the server could not be established
is this the servers problem or mine if the server is bad what sites would be recomended for free ftp host
Function Test
Ftp f.Connect("www.drivehq.com" "xxxxxx" "xxxxxx" )
;If need, change current ftp directory to the directory where the file is
if(!f.DirSet("\My Pictures")) end "failed to set FTP current directory"
;Download to desktop
f.SetProgressDialog(1)
if(!f.FileGet("SamplePhoto2.jpg" "$desktop$\SamplePhoto2.jpg")) end "failed to download"
mes "downloaded"
Error (RT) in Test: Failed. A connection with the server could not be established
Error (RT) in Test: Failed. A connection with the server could not be established
is this the servers problem or mine if the server is bad what sites would be recomended for free ftp host