Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

upload error


dumb_question

Recommended Posts

I get following error when I run froogle.php in the browser.

 

Connected to hedwig.google.com, for user ativasativa

 

Warning: ftp_put(): Can't build data connection: Connection timed out. in /public_html/admin/froogle.php on line 226

FTP upload has FAILED! source:

/public_html/temp/feeds/froogleativasativa.txt dest: ativasativa.txt

 

here is the line 226

225 // upload the file

226 $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_BINARY);

 

I had asked my host to set the cron job but it not working . They say there is a problem with the code. I guess this is the issue.

 

 

I can see the file is generated in the temp folder and it works fine when i upload it

through ftp software.Can someone please help me fix this.

 

 

Thank you

Link to comment
Share on other sites

/public_html/temp/feeds/froogleativasativa.txt is the path you have,

should be like this:

/public_html/temp/feeds/froogle/ativasativa.txt

so look in your froogle.php file for a missing slash, or put it in front of the ativastiva.txt file

Link to comment
Share on other sites

looks like that was a typo.sorry about that.

here is the error that I get

 

Warning: ftp_put(): Can't build data connection: Connection timed out. in /public_html/admin/froogle.php on line 226

FTP upload has FAILED! source: /public_html/temp/feeds/ativasativa.txt dest: ativasativa.txt

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...