Upload Script

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
TitanClan
New to forums
New to forums
Posts: 6
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Jul 29, 2014 6:24 am

Upload Script

Post by TitanClan »

Hello,

I am currently having some issues with using our current map uploading script. The main issue is that it does in fact upload, but it will upload a blank mapname.bsp instead of the real mapname.bsp. If an NFO team member would like to take a look at our ticket it is ticket #496288.

Thank you in advance for any help provided.
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: Upload Script

Post by kraze »

Are you able to elaborate a bit more on the script? What type of script is it, how is it connecting to the server? Is the script generating any logs that may provide some insight?
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
TitanClan
New to forums
New to forums
Posts: 6
Joined: Tue Jul 29, 2014 6:24 am

Re: Upload Script

Post by TitanClan »

kraze wrote:Are you able to elaborate a bit more on the script? What type of script is it, how is it connecting to the server? Is the script generating any logs that may provide some insight?
I believe it is connecting through the active method, but we have tried passive as well.
The current error I am getting is this when trying to upload:
Warning: ftp_put(): OOPS: vsf_sysutil_bind


The script is being used to upload maps to our counter-strike source servers. Due to having really bad upload speed we decided to use the upload speed of one of our servers.
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: Upload Script

Post by kraze »

You'll want to stick with passive mode. Have you tested other FTPs to see if the issue happens there as well?
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
TitanClan
New to forums
New to forums
Posts: 6
Joined: Tue Jul 29, 2014 6:24 am

Re: Upload Script

Post by TitanClan »

kraze wrote:You'll want to stick with passive mode. Have you tested other FTPs to see if the issue happens there as well?
We have tried both active and passive, but none of them have actually worked. We tested this to our Test server FTP, to ensure nothing goes wrong with the other servers. Our developer said something might be wrong with the FTP itself. That sometimes PHP scripts may not be able to connect and upload to them.
TitanClan
New to forums
New to forums
Posts: 6
Joined: Tue Jul 29, 2014 6:24 am

Re: Upload Script

Post by TitanClan »

Could you add me on steam? I could release parts of the code to your through there. But I would rather not make it publically available.

http://steamcommunity.com/id/preminition/
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: Upload Script

Post by kraze »

We don't do any Steam based support, unfortunately. If you are able to, releasing small bits of the code would be helpful. Waiting for other replies from community members would be helpful as well since I know we have a few which use scripts to upload/download from our FTP servers without issue.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
TitanClan
New to forums
New to forums
Posts: 6
Joined: Tue Jul 29, 2014 6:24 am

Re: Upload Script

Post by TitanClan »

I now have the entire script on my computer, but am unsure where to check for passive mode, as well as connection methods.


http://puu.sh/awgr3/f3d83de348.png
http://puu.sh/awgrX/4b3ab75671.png
http://puu.sh/awgtB/6a7d60f9cd.png

I was told to provide screenshots of anything that had ftp_put
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Upload Script

Post by soja »

I notice on some ftp_put's you are using Binary, and others ASCII, is this intended?

Where are you getting the map files from?

Are you downloading from your game server, then uploading to your fastdl?

Also, I doubt anyone will try to pirate your code here, we are all here to help. I do not work for NFO, and have helped many customers here, if you would like to share the code with me on steam, I could probably help you better vs scattered screenshots without line numbers.
Not a NFO employee
TitanClan
New to forums
New to forums
Posts: 6
Joined: Tue Jul 29, 2014 6:24 am

Re: Upload Script

Post by TitanClan »

soja wrote:I notice on some ftp_put's you are using Binary, and others ASCII, is this intended?

Where are you getting the map files from?

Are you downloading from your game server, then uploading to your fastdl?

Also, I doubt anyone will try to pirate your code here, we are all here to help. I do not work for NFO, and have helped many customers here, if you would like to share the code with me on steam, I could probably help you better vs scattered screenshots without line numbers.
Added. Thank you.
Post Reply