Raised This Month: $32 Target: $400
 8% 

[INC] FTP


Post New Thread Reply   
 
Thread Tools Display Modes
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 12-04-2013 , 14:42   Re: [INC] FTP
Reply With Quote #21

Could you add a new command to change the directory?

The FTP cmd is "CWD dirname". The response code is 250.
__________________

Last edited by Neeeeeeeeeel.-; 12-04-2013 at 14:55.
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
rx1983
Senior Member
Join Date: Jan 2009
Location: BRASIL
Old 09-26-2023 , 15:02   Re: [INC] FTP
Reply With Quote #22

Would i like to order.
I need to automatically send para um ftp, the csstats.dat file at the end of the round.
can anyone do it?
__________________
rx1983 is offline
Send a message via MSN to rx1983
Old 09-27-2023, 00:03
fysiks
This message has been deleted by fysiks. Reason: You posted in two places unnecessarily.
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 12-03-2023 , 13:34   Re: [INC] FTP
Reply With Quote #23

Quote:
Originally Posted by rx1983 View Post
Would i like to order.
I need to automatically send para um ftp, the csstats.dat file at the end of the round.
can anyone do it?
Untested. This will upload the file on map start opposed to round end. If I recall correctly, the stats are not written to csstats.dat until a map change occurs, so sending data during a map will be stale (missing the latest stats).

You must set these values before compiling:
Code:
new FTP_Server[] = "ftp.secureftp-test.com";
new FTP_Port = 21;
new FTP_User[] = "test";
new FTP_Pass[] = "test";
new FTP_RemoteFile[] = "hamlet.zip";
Spoiler
__________________
Bugsy is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode