The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ftp
#1
Im trying to use the ftp function but keep having problem with the server
Function Test
Code:
Copy      Help
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"
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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)