Jump to content
Sign in to follow this  
MRXTO09

File uploaded size 0

Recommended Posts

MRXTO09

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?

Share this post


Link to post
Share on other sites
JLogan3o13

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 ;)


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
MRXTO09

they have access to ftp because the file was created on ftp server but the size of the file is 0 they have a windows 7/8 32 or 64 bit i have the 64 and work, they have internet connection 

  • Like 1

Share this post


Link to post
Share on other sites
JLogan3o13

Once again, how are you thinking that we are going to help you troubleshoot if we cannot see what you have written?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
MRXTO09

$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

Share this post


Link to post
Share on other sites
JLogan3o13

And so what error chacking are you doing, to help you track down at which point it fails?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
MRXTO09

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%

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×