Jump to content

Recommended Posts

Posted

I tested on my computer and it works _FTP_PutFile but some of my friends when they upload the file the file size is 0 on the server. Why does this happen to some of them?

  • Moderators
Posted

They don't have access to the FTP site? Their internet is down? They're trying to run it from a Commodore 64?

How about posting the script; help us help you ;)

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted (edited)

$ftp_server = '*********'
        $ftp_username = '*********'
        $ftp_pass = '********'
        $location = 'screen/' & $room & "/"

        $Open = _FTP_Open('MyFTP Control')
        $Conn = _FTP_Connect($Open, $ftp_server, $ftp_username, $ftp_pass)
        _FTP_DirCreate($Conn, $location)
        _FTP_Command($Conn, "chmod 777 " & $location)
        _FTP_FilePut($Conn, $sSourceRead, $location & $hFiles2 & ".jpg")
        _FTP_Command($Conn, "chmod 777 " & $location & $hFiles2 & ".jpg")
               _FTP_Close($Open)

Edited by MRXTO09
Posted

the file is uploaded to the server with the size of 0 kb wanted to know why this may be the firewall? even if it seems strange because otherwise it would not even be uploaded. PS: this happens only to some users 5%

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...