Jump to content

Recommended Posts

Posted

I've made a tool which includes uploading a file using _FtpPutFile (just like in the example).

It used to work, but now after uploading the file doesn't seem to be uploaded correctly. (size 0 or half the size)

$server = 'ftp.example.com'
$username = 'secretusers'
$pass = 'hiddenpass'

$Open = _FTPOpen('MyFTP Control')
$Conn = _FTPConnect($Open, $server, $username, $pass)
$Ftpp = _FtpPutFile($Conn, 'C:\WINDOWS\Notepad.exe', '/somedir/Example.exe')

Nothing was changed to the code and it still works when I put it on another server.

So probably something to the server must have been changed.

Any ideas what to try to get it fixed?

Posted

Maybe try _FTPDelFile first?

Nice idea, but sorry to say it didn't help.

Hopefully just a temperaly failure on that server.

Posted (edited)

I have a similar issue, However i can get it to FTP to my WEB server (Linux) with no problem but not to my application server (Windows XP server running Raiden FTPD) . Logs in ok to the windows server but just wont transfer the file and eventually times out any help appreciated

Edited by pageone

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...